summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-11-05 00:27:21 +0100
committerHolger Levsen <holger@layer-acht.org>2014-11-05 00:27:21 +0100
commit21d607e6b0526ff5a1aa34d9458b51a63fb014cb (patch)
tree068e41c28f398c249c5352dc64c71a44597d0d6d
parentf3af7de0386f930843a0d0aab1f1c1106dbaa6f0 (diff)
downloadjenkins.debian.net-21d607e6b0526ff5a1aa34d9458b51a63fb014cb.tar.xz
email2irc: turn off debugging
-rwxr-xr-xbin/email2irc.sh3
1 files changed, 1 insertions, 2 deletions
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