[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible maintenance: also cleanup temporary directories with 'new' naming style

Holger Levsen holger at moszumanska.debian.org
Wed Feb 17 13:16:58 UTC 2016


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 6dc87147df1aad0ef980a22329ec5c678cee8dd5
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Feb 17 14:16:36 2016 +0100

    reproducible maintenance: also cleanup temporary directories with 'new' naming style
---
 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 44b070f..dddc463 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -116,7 +116,7 @@ set -e
 
 # delete old temp directories
 echo "$(date -u) - Deleting temp directories, older than 2 days."
-OLDSTUFF=$(find $REP_RESULTS -maxdepth 1 -type d -name "tmp.*" -mtime +1 -exec ls -lad {} \; || true)
+OLDSTUFF=$(find $REP_RESULTS -maxdepth 1 -type d -mtime +1 -name "tmp.*" -o -name "rbuild*" -exec ls -lad {} \; || true)
 if [ ! -z "$OLDSTUFF" ] ; then
 	echo
 	echo "Old temp directories found in $REP_RESULTS"

-- 
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