[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: simple refactoring

Holger Levsen holger at layer-acht.org
Sun Nov 26 21:19:10 UTC 2017


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 a08165ac1da5a907090f4f8e7c706e841479163c
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Nov 26 21:18:58 2017 +0000

    reproducible Arch Linux: simple refactoring
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_html_archlinux.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index e4e13a5..25fb8e8 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -61,7 +61,7 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do
 			continue
 		fi
 		let TESTED+=1
-		if [ -n "$(cd $ARCHLINUX_PKG_PATH/ ; ls *.state 2>/dev/null)" ] ; then
+		if [ -f $ARCHLINUX_PKG_PATH/pkg.state ] ; then
 			STATE="$(cat $ARCHLINUX_PKG_PATH/pkg.state 2>&1)"
 			case $STATE in
 				GOOD)		let NR_GOOD+=1

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