[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible Debian: this should work without sudo, thanks Mattia

Holger Levsen holger at layer-acht.org
Wed Apr 26 11:28:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 66b4baf0287a59e4d976d64ebf528a8ef0c10af1
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Apr 26 13:28:49 2017 +0200

    reproducible Debian: this should work without sudo, thanks Mattia
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_maintenance.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index a88c2af..90cb7d7 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -215,7 +215,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
 			echo
 			echo "Old logfiles cleaned in /var/lib/jenkins/userContent/reproducible/debian/build_service/"
 			echo -n "$OLDSTUFF"
-			find /var/lib/jenkins/userContent/reproducible/debian/build_service/ -maxdepth 2 -regex '.*/[0-9]+' -type d -mtime +2 -exec sudo rm -rf --one-file-system {} \; || true
+			find /var/lib/jenkins/userContent/reproducible/debian/build_service/ -maxdepth 2 -regex '.*/[0-9]+' -type d -mtime +2 -exec rm -rf --one-file-system {} \; || true
 			echo
 		fi
 	fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list