[Qa-jenkins-scm] [jenkins.debian.net] 01/01: email2irc: chop more crap

Holger Levsen holger at layer-acht.org
Tue Mar 14 21:43:29 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 c416e13290ca4626132d92dd0b147117dd9ec6ad
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Mar 14 22:43:12 2017 +0100

    email2irc: chop more crap
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/email2irc.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index ec7b119..a7220b7 100755
--- a/bin/email2irc.sh
+++ b/bin/email2irc.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-# Copyright 2012-2016 Holger Levsen <holger at layer-acht.org>
+# Copyright 2012-2017 Holger Levsen <holger at 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

-- 
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