summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-04-28 01:17:45 +0200
committerHolger Levsen <holger@layer-acht.org>2015-04-28 10:21:20 +0200
commit3fa852a3e556ad0d6454b6b5fbb9ee4f183b9720 (patch)
treebd09c2827cc5930b3a9c278d8b103a82470466d2
parent2e4c823fc8df7f4d61a545bc6dde52757a30b689 (diff)
downloadjenkins.debian.net-3fa852a3e556ad0d6454b6b5fbb9ee4f183b9720.tar.xz
reproducible: scheduler_on_demand: fix check
-rwxr-xr-xbin/reproducible_schedule_on_demand.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_schedule_on_demand.sh b/bin/reproducible_schedule_on_demand.sh
index 27c32dc8..4e902cae 100755
--- a/bin/reproducible_schedule_on_demand.sh
+++ b/bin/reproducible_schedule_on_demand.sh
@@ -53,7 +53,7 @@ fi
MESSAGE="$TOTAL $PACKAGES_TXT $ACTION in $SUITE: ${PACKAGES_NAMES:0:256}$BLABLABLA"
if [ $ARTIFACTS -eq 1 ] ; then
MESSAGE="$MESSAGE - artifacts will be preserved."
-elif $NOTIFY ; then
+elif [ "$NOTIFY" = "true" ] ; then
MESSAGE="$MESSAGE - notification once finished."
fi