summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-05-17 17:51:57 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-17 17:51:57 +0200
commitab3d7ed1c3fe3b33f6ff9a45a943c81c2c69cafd (patch)
tree122e793ab92ea874fc9a9f7910d2649c38f7fbca
parentcdbb4ce1b9fbaa9e5058fffbd0ba23a7ecf27704 (diff)
downloadjenkins.debian.net-ab3d7ed1c3fe3b33f6ff9a45a943c81c2c69cafd.tar.xz
reproducible: fixup condition
-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 6ae4af19..6e2aca81 100755
--- a/bin/reproducible_schedule_on_demand.sh
+++ b/bin/reproducible_schedule_on_demand.sh
@@ -42,7 +42,7 @@ case "$1" in
esac
CANDIDATES="$@"
-if [ ${#} -gt 50 ] && $NOTIFY ; then
+if [ ${#} -gt 50 ] && [ "$NOTIFY" = "true" ] ; then
echo
figlet "No."
echo "Do not schedule more than 50 packages with notification. If you really really need to spam the IRC channel this much, use a loop to achieve that. Exiting."