diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-09-19 16:07:03 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-09-19 16:07:03 +0200 |
commit | 77c30376e481e763fb20e6a2b4122c693bfce94b (patch) | |
tree | 9891b4c768b831637769af9f6416676f4d207a43 /bin | |
parent | fe19d419ad42901d63a1dad6604b8812722d64cf (diff) | |
download | jenkins.debian.net-77c30376e481e763fb20e6a2b4122c693bfce94b.tar.xz |
reproducible builds: cope nicely with non-existing hosts
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build.sh | 4 |
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 |