diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-11-03 14:11:37 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-11-03 14:11:37 +0100 |
commit | fe6b6969614d624bfb480c27af1b21ed4c8d93a8 (patch) | |
tree | e98b06cef103a8f0f64d9322ee675a8ce8a0f425 /bin | |
parent | 6ce959e101e00abdc0724696457479549e2b0784 (diff) | |
download | jenkins.debian.net-fe6b6969614d624bfb480c27af1b21ed4c8d93a8.tar.xz |
email2irc: correctly pick up multi-line subjects
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/email2irc.sh | 2 |
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 |