[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: use sudo to cleanup

Holger Levsen gitlab at salsa.debian.org
Mon Nov 12 18:16:10 GMT 2018


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
9a931cf7 by Holger Levsen at 2018-11-12T18:16:01Z
reproducible Archlinux: use sudo to cleanup

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_maintenance.sh


Changes:

=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -96,7 +96,7 @@ OLDSTUFF=$(find /tmp -maxdepth 1 -type d -mtime +2 -regextype egrep -regex '/tmp
 if [ ! -z "$OLDSTUFF" ] ; then
 	echo
 	echo "Old temp directories found in /tmp"
-	find /tmp -maxdepth 1 -type d -mtime +2 -regextype egrep -regex '/tmp/(tmp.*|Test.*|usession-release.*|.*test.*)' -exec rm -rv --one-file-system {} \; || true
+	find /tmp -maxdepth 1 -type d -mtime +2 -regextype egrep -regex '/tmp/(tmp.*|Test.*|usession-release.*|.*test.*)' -exec sudo rm -rv --one-file-system {} \; || true
 	echo "These old directories have been deleted."
 	echo
 	DIRTY=true



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/9a931cf7cc7041ff3da1c7ce62aac9cc980a65de

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/9a931cf7cc7041ff3da1c7ce62aac9cc980a65de
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20181112/1a2ebd57/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list