[Qa-jenkins-scm] [jenkins.debian.net] 01/01: YOLO: deal with quoted-printable continuation lines, change the '=' at 1st lineend into a space character

Holger Levsen holger at layer-acht.org
Wed Nov 23 15:05:50 UTC 2016


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 3ac5b1d643796d00d87889feb506a8081c2626e3
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Nov 23 16:05:38 2016 +0100

    YOLO: deal with quoted-printable continuation lines, change the '=' at 1st lineend into a space character
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/email2irc.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index 0871cab..33beea4 100755
--- a/bin/email2irc.sh
+++ b/bin/email2irc.sh
@@ -87,7 +87,8 @@ while read -r line ; do
 		else
 			# deal with quoted-printable continuation lines: 2nd line/time
 			# if $MY_LINE ends with '=', then append the next line to $MY_LINE,
-			# TODO: changing the '=' to a single space.
+			# changing the '=' to a single space.
+			MY_2ND_LINE=$(echo $MY_2ND_LINE | sed -s 's#=$# #')
 			MY_LINE="$MY_2ND_LINE $MY_LINE"
 			debug123 "#5" MY_LINE $MY_LINE
 			debug123 "#6" MY_2ND_LINE $MY_2ND_LINE

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