From 64b74cc4395122c7e61cebe98e5efde6c31daef2 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Sun, 30 Apr 2000 22:48:49 +0000 Subject: 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 --- gnu/usr.bin/send-pr/send-pr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/usr.bin/send-pr/send-pr.sh b/gnu/usr.bin/send-pr/send-pr.sh index 107a49bb29009..c4726244da320 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 -- cgit v1.3