[Qa-jenkins-scm] [jenkins.debian.net] 01/01: fix regex to also match display/redirect
Holger Levsen
holger at layer-acht.org
Thu Mar 30 15:40:30 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 1f627b1f21be0286c879a90b75186a21493cef81
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Mar 30 17:40:20 2017 +0200
fix regex to also match display/redirect
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/email2irc.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index a7220b7..d0fbe2e 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list