From 77c30376e481e763fb20e6a2b4122c693bfce94b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 19 Sep 2016 16:07:03 +0200 Subject: 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 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 -- cgit v1.2.3-70-g09d2