[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: fixup condition

Holger Levsen holger at moszumanska.debian.org
Sun May 17 15:52:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit ab3d7ed1c3fe3b33f6ff9a45a943c81c2c69cafd
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun May 17 17:51:57 2015 +0200

    reproducible: fixup condition
---
 bin/reproducible_schedule_on_demand.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_schedule_on_demand.sh b/bin/reproducible_schedule_on_demand.sh
index 6ae4af1..6e2aca8 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."

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list