summaryrefslogtreecommitdiffstats
path: root/bin/email2irc.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-11-23 12:01:21 +0100
committerHolger Levsen <holger@layer-acht.org>2016-11-23 12:01:21 +0100
commit624ebe962e9ee135ce98d00ced3d0c90c266e016 (patch)
treeca53fb55eb5633b8c8e910921148ab8993e4d17f /bin/email2irc.sh
parent07cb4559359c81b334d51423018a28cc029b7118 (diff)
downloadjenkins.debian.net-624ebe962e9ee135ce98d00ced3d0c90c266e016.tar.xz
strip noise
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/email2irc.sh')
-rwxr-xr-xbin/email2irc.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index 02f10efc..1da5f410 100755
--- a/bin/email2irc.sh
+++ b/bin/email2irc.sh
@@ -98,7 +98,10 @@ done
if [ -z $JENKINS_JOB ] ; then
VALID_MAIL=false
fi
-debug123 "#5" MY_LINE $MY_LINE
+debug123 "#7" MY_LINE $MY_LINE
+# remove bogus noise
+MY_LINE=$(echo $MY_LINE | sed -s "s#------------------------------------------##g")
+debug123 "#8" MY_LINE $MY_LINE
# only send notifications for valid emails
if [ "$VALID_MAIL" = "true" ] ; then