summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-09-19 16:07:03 +0200
committerHolger Levsen <holger@layer-acht.org>2016-09-19 16:07:03 +0200
commit77c30376e481e763fb20e6a2b4122c693bfce94b (patch)
tree9891b4c768b831637769af9f6416676f4d207a43
parentfe19d419ad42901d63a1dad6604b8812722d64cf (diff)
downloadjenkins.debian.net-77c30376e481e763fb20e6a2b4122c693bfce94b.tar.xz
reproducible builds: cope nicely with non-existing hosts
-rwxr-xr-xbin/reproducible_build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index e7b56671..fba3949b 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