summaryrefslogtreecommitdiffstats
path: root/bin/email2irc.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-11-03 14:11:37 +0100
committerHolger Levsen <holger@layer-acht.org>2014-11-03 14:11:37 +0100
commitfe6b6969614d624bfb480c27af1b21ed4c8d93a8 (patch)
treee98b06cef103a8f0f64d9322ee675a8ce8a0f425 /bin/email2irc.sh
parent6ce959e101e00abdc0724696457479549e2b0784 (diff)
downloadjenkins.debian.net-fe6b6969614d624bfb480c27af1b21ed4c8d93a8.tar.xz
email2irc: correctly pick up multi-line subjects
Diffstat (limited to 'bin/email2irc.sh')
-rwxr-xr-xbin/email2irc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index ff3d9e15..15a69263 100755
--- a/bin/email2irc.sh
+++ b/bin/email2irc.sh
@@ -38,7 +38,7 @@ while read line ; do
SUBJECT=${line:9}
# the email-ext plugin sometimes sends multi line subjects..
NEXT=read line
- if [ "${NEXT:1}" = " " ] ; then
+ if [ "${NEXT:0:1}" = " " ] ; then
SUBJECT="${SUBJECT}${NEXT}"
fi
fi