From adca1c7b3c0053e6dd514f0fe7796cd339a1f54b Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 16 Jan 2004 22:16:41 +0000 Subject: ciabot_bk.sh: Correct multiline ChangeSet comment handling for CIA notifications. A second line for verification. :) BKrev: 400862c9W2RdzHuLdGfGe1IBu5XpWw --- BitKeeper/triggers/ciabot_bk.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'BitKeeper/triggers') diff --git a/BitKeeper/triggers/ciabot_bk.sh b/BitKeeper/triggers/ciabot_bk.sh index 8580a6540d..c232dc6853 100644 --- a/BitKeeper/triggers/ciabot_bk.sh +++ b/BitKeeper/triggers/ciabot_bk.sh @@ -32,6 +32,7 @@ for file in `bk changes -n -v -r"$REV" -d"\\\$unless(:GFILE:=ChangeSet){:GFILE:} files="$files$file" done +sendmail_command=cat # Send an email with the final XML message (cat <$files EOF echo " " -bk changes -r"$REV" -d"\$if(:C:){\$each(:C:){:C:\\\\n}}" | sed 's/\&/\&/g;s//\>/g' +bk changes -r"$REV" -d'$if(:C:){$each(:C:){:C:\\\n}}' | sed 's/\&/\&/g;s//\>/g' echo " " cat < EOF -) | tee ~/sendmailcmd.$$ | $sendmail_command +) | $sendmail_command ### The End ### -- cgit v1.2.3