From 21d607e6b0526ff5a1aa34d9458b51a63fb014cb Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 5 Nov 2014 00:27:21 +0100 Subject: email2irc: turn off debugging --- bin/email2irc.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/email2irc.sh') diff --git a/bin/email2irc.sh b/bin/email2irc.sh index 15a69263..579dfb51 100755 --- a/bin/email2irc.sh +++ b/bin/email2irc.sh @@ -20,6 +20,7 @@ debug123() { # # parse email headers to check if they come from jenkins # +DEBUG=false HEADER=true VALID_MAIL=false MY_LINE="" @@ -54,7 +55,6 @@ while read line ; do JENKINS_JOB=${line:15} fi fi - DEBUG=true # catch first line of email body (to send to IRC later) if [ "$HEADER" == "false" ] && [ -z "$MY_LINE" ] ; then MY_LINE=$line @@ -69,7 +69,6 @@ while read line ; do debug123 "#4" MY_LINE $MY_LINE fi fi - DEBUG=false done # check that it's a valid job if [ -z $JENKINS_JOB ] ; then -- cgit v1.2.3-54-g00ecf