aboutsummaryrefslogtreecommitdiffstats
path: root/BitKeeper/triggers
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-01-16 22:16:41 +0000
committerChris Larson <clarson@kergoth.com>2004-01-16 22:16:41 +0000
commitadca1c7b3c0053e6dd514f0fe7796cd339a1f54b (patch)
tree588a7b684e5e8242f9566e1d9d1e5b3269aba86a /BitKeeper/triggers
parentcfe1788d9d0a50650d40cf05d75776906540c746 (diff)
downloadopenembedded-adca1c7b3c0053e6dd514f0fe7796cd339a1f54b.tar.gz
ciabot_bk.sh:
Correct multiline ChangeSet comment handling for CIA notifications. A second line for verification. :) BKrev: 400862c9W2RdzHuLdGfGe1IBu5XpWw
Diffstat (limited to 'BitKeeper/triggers')
-rw-r--r--BitKeeper/triggers/ciabot_bk.sh5
1 files changed, 3 insertions, 2 deletions
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>$file</file>"
done
+sendmail_command=cat
# Send an email with the final XML message
(cat <<EOF
From: $return_address
@@ -56,13 +57,13 @@ Subject: DeliverXML
<files>$files</files>
EOF
echo " <log>"
-bk changes -r"$REV" -d"\$if(:C:){\$each(:C:){:C:\\\\n}}" | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'
+bk changes -r"$REV" -d'$if(:C:){$each(:C:){:C:\\\n}}' | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'
echo " </log>"
cat <<EOF
</commit>
</body>
</message>
EOF
-) | tee ~/sendmailcmd.$$ | $sendmail_command
+) | $sendmail_command
### The End ###