[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: simplify matching

Holger Levsen holger at moszumanska.debian.org
Thu Mar 5 18:22:24 UTC 2015


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 f4be9ab8da94ce5b8e0c8d1f2e37fbddfa73b571
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Mar 5 19:16:51 2015 +0100

    reproducible: simplify matching
---
 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 fbe49af..9d89574 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
 					;;

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