From 66b4baf0287a59e4d976d64ebf528a8ef0c10af1 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 26 Apr 2017 13:28:49 +0200 Subject: reproducible Debian: this should work without sudo, thanks Mattia Signed-off-by: Holger Levsen --- bin/reproducible_maintenance.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index a88c2afe..90cb7d7d 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 -- cgit v1.2.3-70-g09d2