diff options
author | Nik Clayton <nik@FreeBSD.org> | 2000-04-30 22:48:49 +0000 |
---|---|---|
committer | Nik Clayton <nik@FreeBSD.org> | 2000-04-30 22:48:49 +0000 |
commit | 64b74cc4395122c7e61cebe98e5efde6c31daef2 (patch) | |
tree | 2eb012a2d7659faebb9afe9519d5d072ce5f4568 /gnu/usr.bin/send-pr | |
parent | 26927f3ca7233cd408cab44072d0acebf635c659 (diff) | |
download | src-64b74cc4395122c7e61cebe98e5efde6c31daef2.tar.gz src-64b74cc4395122c7e61cebe98e5efde6c31daef2.zip |
Only set $MAIL_AGENT if it isn't already defined in the environment.
No idea why this was sent in as a docs bug. . .
PR: docs/17014
Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
Notes
Notes:
svn path=/head/; revision=59807
Diffstat (limited to 'gnu/usr.bin/send-pr')
-rw-r--r-- | gnu/usr.bin/send-pr/send-pr.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/send-pr/send-pr.sh b/gnu/usr.bin/send-pr/send-pr.sh index 107a49bb2900..c4726244da32 100644 --- a/gnu/usr.bin/send-pr/send-pr.sh +++ b/gnu/usr.bin/send-pr/send-pr.sh @@ -56,7 +56,7 @@ GNATS_SITE=freefall # What mailer to use. This must come after the config file, since it is # host-dependent. -MAIL_AGENT="/usr/sbin/sendmail -oi -t" +MAIL_AGENT="${MAIL_AGENT:-/usr/sbin/sendmail -oi -t}" ECHON=bsd |