summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-03-30 17:40:20 +0200
committerHolger Levsen <holger@layer-acht.org>2017-03-30 17:40:20 +0200
commit1f627b1f21be0286c879a90b75186a21493cef81 (patch)
tree83208be527317a37adcbeb4b1362f15a4c53700c /bin
parent00c3c9a068db1c469424e60e1440789d5304f0b9 (diff)
downloadjenkins.debian.net-1f627b1f21be0286c879a90b75186a21493cef81.tar.xz
fix regex to also match display/redirect
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/email2irc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index a7220b70..d0fbe2ed 100755
--- a/bin/email2irc.sh
+++ b/bin/email2irc.sh
@@ -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/redirec.*\>$##') "
# log message
echo "Notified #$CHANNEL with $MESSAGE" >> $LOGFILE
# notify kgb