diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-11-23 12:01:21 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-11-23 12:01:21 +0100 |
commit | 624ebe962e9ee135ce98d00ced3d0c90c266e016 (patch) | |
tree | ca53fb55eb5633b8c8e910921148ab8993e4d17f | |
parent | 07cb4559359c81b334d51423018a28cc029b7118 (diff) | |
download | jenkins.debian.net-624ebe962e9ee135ce98d00ced3d0c90c266e016.tar.xz |
strip noise
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/email2irc.sh | 5 |
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 |