[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible builds: cope nicely with non-existing hosts

Holger Levsen holger at layer-acht.org
Mon Sep 19 14:07:06 UTC 2016


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 77c30376e481e763fb20e6a2b4122c693bfce94b
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Sep 19 16:07:03 2016 +0200

    reproducible builds: cope nicely with non-existing hosts
---
 bin/reproducible_build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index e7b5667..fba3949 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -100,9 +100,9 @@ save_artifacts() {
 }
 
 cleanup_all() {
-	if [ $SAVE_ARTIFACTS -eq 1 ] ; then
+	if [ "$SAVE_ARTIFACTS" = "1" ] ; then
 		save_artifacts
-	elif [ ! -z "$NOTIFY" ] && [ $SAVE_ARTIFACTS -eq 0 ] ; then
+	elif [ ! -z "$NOTIFY" ] && [ "$SAVE_ARTIFACTS" = "0" ] ; then
 		irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS"
 	fi
 	[ ! -f $RBUILDLOG ] || gzip -9fvn $RBUILDLOG

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