From 6dc87147df1aad0ef980a22329ec5c678cee8dd5 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 17 Feb 2016 14:16:36 +0100 Subject: 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 44b070f8..dddc463c 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" -- cgit v1.2.3-70-g09d2