From 5f4810882130d9061cf94b8766b484c35569724a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 16 Feb 2015 15:53:04 +0100 Subject: improve last commit --- bin/reproducible_maintainance.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_maintainance.sh b/bin/reproducible_maintainance.sh index 4bd07e19..40948db4 100755 --- a/bin/reproducible_maintainance.sh +++ b/bin/reproducible_maintainance.sh @@ -48,10 +48,10 @@ if [ ! -z "$OLDSTUFF" ] ; then fi # find old schroots -OLDSTUFF=$(find /schroots/ -type d -name "reproducible*" -mtime +2 -exec ls -lad {} \;) +OLDSTUFF=$(find /schroots/ -maxdepth 1 -type d -name "reproducible*" -mtime +2 -exec ls -lad {} \;) if [ ! -z "$OLDSTUFF" ] ; then echo - echo "Warning: old temp directories found in $REP_RESULTS" + echo "Warning: old schroots found in $REP_RESULTS" echo DIRTY=true fi -- cgit v1.2.3-70-g09d2