diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2007-08-10 13:43:29 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2007-08-10 13:43:29 +0000 |
commit | 78a9cae9dc3828fdb2ae3cfbaa6ab1539a699abd (patch) | |
tree | 8b690ed9bbab22c7b0fbede4fcabb9f10cde5df4 | |
parent | c37dd985aa8c62d157bfb0989f251683834250d9 (diff) | |
download | quilt-78a9cae9dc3828fdb2ae3cfbaa6ab1539a699abd.tar.gz |
- quilt mail: only add a "-- " at the end of messages if it is
actually followed by a signature.
-rw-r--r-- | quilt.changes | 6 | ||||
-rw-r--r-- | quilt/mail.in | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/quilt.changes b/quilt.changes index 1984631..047c863 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Aug 10 15:40:31 CEST 2007 - agruen@suse.de + +- quilt mail: only add a "-- " at the end of messages if it is + actually followed by a signature. + +------------------------------------------------------------------- Fri Aug 10 15:16:12 CEST 2007 - agruen@suse.de - quilt mail: Add a --reply-to <message> option which adds the diff --git a/quilt/mail.in b/quilt/mail.in index fbb42cc..24bbe48 100644 --- a/quilt/mail.in +++ b/quilt/mail.in @@ -465,8 +465,11 @@ introduction="$(gen_tempfile)" echo "$opt_message" echo fi - echo "-- " - [ -r $HOME/.signature ] && cat $HOME/.signature + if [ -r $HOME/.signature ] + then + echo "-- " + cat $HOME/.signature + fi ) | $QUILT_DIR/scripts/edmail --charset $opt_charset > $introduction if [ -z "$opt_message" ] |