summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-16 15:53:04 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-16 15:53:04 +0100
commit5f4810882130d9061cf94b8766b484c35569724a (patch)
tree66601f7e12c7cf22dd972c446697fae1a915babc /bin
parent0876c459b44d0bbb3e954e210d0d035f7c536421 (diff)
downloadjenkins.debian.net-5f4810882130d9061cf94b8766b484c35569724a.tar.xz
improve last commit
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_maintainance.sh4
1 files 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