summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-03-14 22:43:12 +0100
committerHolger Levsen <holger@layer-acht.org>2017-03-14 22:43:12 +0100
commitc416e13290ca4626132d92dd0b147117dd9ec6ad (patch)
tree30622ec65653adc134115b1724fcfc8b31fad00a /bin
parentdfbbb0a47a251a8d17ba68cd845801f205520965 (diff)
downloadjenkins.debian.net-c416e13290ca4626132d92dd0b147117dd9ec6ad.tar.xz
email2irc: chop more crap
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/email2irc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index ec7b1190..a7220b70 100755
--- a/bin/email2irc.sh
+++ b/bin/email2irc.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2012-2016 Holger Levsen <holger@layer-acht.org>
+# Copyright 2012-2017 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
# from IRC:
@@ -128,7 +128,7 @@ if [ "$VALID_MAIL" = "true" ] ; then
MESSAGE="$(echo $MESSAGE | sed -s 's#\?page=changes$##') "
MESSAGE="$(echo $MESSAGE | sed -s 's#/console$##') "
MESSAGE="$(echo $MESSAGE | sed -s 's#/changes$##') "
- MESSAGE="$(echo $MESSAGE | sed -s 's#display/redirect\>$##') "
+ MESSAGE="$(echo $MESSAGE | sed -s 's#display/redirect.*\>$##') "
# log message
echo "Notified #$CHANNEL with $MESSAGE" >> $LOGFILE
# notify kgb