[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible arch: fix logic

Holger Levsen holger at moszumanska.debian.org
Fri Oct 16 20:57:07 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 df1d87363658c2483f61ecc1e583328d8459f15f
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Oct 16 22:56:17 2015 +0200

    reproducible arch: fix logic
---
 bin/reproducible_build_arch_pkg.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh
index 4356acf..b3288d9 100755
--- a/bin/reproducible_build_arch_pkg.sh
+++ b/bin/reproducible_build_arch_pkg.sh
@@ -190,7 +190,7 @@ if [ ! -z "$(ls $TMPDIR/b1/$SRCPACKAGE/*.pkg.tar.xz)" ] ; then
 	echo "$(date -u) - Running $DIFFOSCOPE now..."
 	cd $TMPDIR/b1/$SRCPACKAGE
 	for ARTIFACT in *.pkg.tar.xz ; do
-		[ ! -f $ARTIFACT ] || continue
+		[ -f $ARTIFACT ] || continue
 		call_diffoscope $SRCPACKAGE $ARTIFACT
 		# publish page
 		if [ -f $TMPDIR/$SRCPACKAGE/$ARTIFACT.html ] ; then

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