summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/send-pr
diff options
context:
space:
mode:
authornik <nik@FreeBSD.org>2000-04-30 22:48:49 +0000
committernik <nik@FreeBSD.org>2000-04-30 22:48:49 +0000
commitf1e1048dfde939dccfe45eecd99af146b1061478 (patch)
tree7a583275bd5c8fab3ba940b445d0478882d6905c /gnu/usr.bin/send-pr
parentdecea903c2c20a279cfca93eb6a219bf7239add8 (diff)
downloadFreeBSD-src-f1e1048dfde939dccfe45eecd99af146b1061478.zip
FreeBSD-src-f1e1048dfde939dccfe45eecd99af146b1061478.tar.gz
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>
Diffstat (limited to 'gnu/usr.bin/send-pr')
-rw-r--r--gnu/usr.bin/send-pr/send-pr.sh2
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 107a49b..c472624 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
OpenPOWER on IntegriCloud