summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index c483420b..95cb6f4f 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -103,8 +103,10 @@ cleanup_all() {
echo "Starting cleanup."
if [ "$SAVE_ARTIFACTS" = "1" ] ; then
save_artifacts
- elif ( [ "$NOTIFY" = "1" ] || [ "$NOTIFY" = "2" ] ) && [ "$SAVE_ARTIFACTS" = "0" ] ; then
+ elif [ "$NOTIFY" = "2" ] && [ "$SAVE_ARTIFACTS" = "0" ] ; then
irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS debug: $NOTIFY"
+ elif [ "$NOTIFY" = "1" ] && [ "$SAVE_ARTIFACTS" = "0" ] ; then
+ irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS"
elif [ ! -z "$NOTIFY" ] && [ "$SAVE_ARTIFACTS" = "0" ] ; then
if [ "$NOTIFY" = "diffoscope" ] ; then
irc_message debian-reproducible-changes "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE $STATUS and $DIFFOSCOPE failed"