diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2007-10-06 20:16:00 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2007-10-06 20:16:00 +0000 |
commit | 298fdb1a759c938ad2b10a36311e476d4a08f9d4 (patch) | |
tree | 233488c51c9c47456e0b49e0aa6321d550e2f89b | |
parent | 98d08e5959980d79d9a868672c72f8caaa217a91 (diff) | |
download | quilt-298fdb1a759c938ad2b10a36311e476d4a08f9d4.tar.gz |
- Allow to define a MUA different from the one found at configure
time in .quiltrc (by setting QUILT_SENDMAIL).
-rw-r--r-- | quilt.changes | 6 | ||||
-rw-r--r-- | quilt/mail.in | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/quilt.changes b/quilt.changes index d36e577..16a877e 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Sat Oct 6 22:15:19 CEST 2007 - agruen@suse.de + +- Allow to define a MUA different from the one found at configure + time in .quiltrc (by setting QUILT_SENDMAIL). + +------------------------------------------------------------------- Sat Sep 8 20:13:34 CEST 2007 - agruen@suse.de - quite refresh: Avoid a possible environment overflow with very, diff --git a/quilt/mail.in b/quilt/mail.in index 24bbe48..8d20a27 100644 --- a/quilt/mail.in +++ b/quilt/mail.in @@ -124,10 +124,12 @@ process_mail() --extract-recipients Bcc \ < $tmpfile) if [ -n "$opt_send" ]; then - echo sendmail ${QUILT_SENDMAIL_ARGS--f "$opt_sender"} "$@" + echo ${QUILT_SENDMAIL:-sendmail} \ + ${QUILT_SENDMAIL_ARGS--f "$opt_sender"} "$@" $QUILT_DIR/scripts/edmail --charset $opt_charset \ --remove-header Bcc "$@" < $tmpfile \ - | sendmail ${QUILT_SENDMAIL_ARGS--f "$opt_sender"} "$@" + | ${QUILT_SENDMAIL:-sendmail} \ + ${QUILT_SENDMAIL_ARGS--f "$opt_sender"} "$@" else local from_date=$(date "+%a %b %e %H:%M:%S %Y") echo "From $opt_sender_address $from_date" |