summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
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 fbe49aff..9d895745 100755
--- a/bin/reproducible_maintainance.sh
+++ b/bin/reproducible_maintainance.sh
@@ -62,9 +62,9 @@ fi
OLDSTUFF=$(find /var/cache/pbuilder/result/ -mtime +1 -exec ls -lad {} \;)
if [ ! -z "$OLDSTUFF" ] ; then
# delete known files
- echo "Attempting file detection..."
cd /var/cache/pbuilder/result/
- for i in $(find . -maxdepth 1 -mtime +1 -type f) ; do
+ echo "Attempting file detection..."
+ for i in $(find . -maxdepth 1 -mtime +1 -type f -basename {} \;) ; do
case $i in
stderr|stdout) rm -v $i
;;