summaryrefslogtreecommitdiffstats
path: root/bin/email2irc.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-02-21 09:47:15 +0100
committerHolger Levsen <holger@layer-acht.org>2017-02-21 09:47:15 +0100
commit9a78c38af8da12c33dfdfd946239ab8e5fc19639 (patch)
tree5a95eae17f7bc9d47f3448d4f31facbeccf15331 /bin/email2irc.sh
parentf391b752b5997698505c33ed77007352cd597300 (diff)
downloadjenkins.debian.net-9a78c38af8da12c33dfdfd946239ab8e5fc19639.tar.xz
Remove meaningless ?page=changes from URLs
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/email2irc.sh')
-rwxr-xr-xbin/email2irc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index cf7f51e8..2a9bfe7f 100755
--- a/bin/email2irc.sh
+++ b/bin/email2irc.sh
@@ -125,6 +125,7 @@ if [ "$VALID_MAIL" = "true" ] ; then
MESSAGE="$(echo $MESSAGE | sed -s 's#^Still Failing#Still failing#') "
MESSAGE="$(echo $MESSAGE | sed -s 's# See # #') "
MESSAGE="$(echo $MESSAGE | sed -s 's#Changes:##') "
+ 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$##') "