summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/send-pr/send-pr.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/send-pr/send-pr.sh b/src/util/send-pr/send-pr.sh
index 88dbe836d..5d1c4105c 100644
--- a/src/util/send-pr/send-pr.sh
+++ b/src/util/send-pr/send-pr.sh
@@ -55,8 +55,8 @@ GNATS_SITE=mit
# What mailer to use. This must come after the config file, since it is
# host-dependent.
-MAIL_AGENT="/usr/lib/sendmail -oi -t"
-if [ ! -x $MAIL_AGENT ] ; then
+MAIL_AGENT="/usr/sbin/sendmail -oi -t"
+if [ ! -x `echo $MAIL_AGENT|sed 's/ .*//'` ] ; then
( [-x /usr/lib/sendmail ] && MAIL_AGENT="/usr/lib/sendmail -oi -t" ) || \
( [ -x /usr/sbin/sendmail ] && MAIL_AGENT="/usr/sbin/sendmail -oi -t " ) || \
MAIL_AGENT="sendmail -oi -t "
@@ -65,7 +65,7 @@ fi
# How to read the passwd database.
PASSWD="cat /etc/passwd"
-ECHON=sysv
+ECHON=bsd
if [ $ECHON = bsd ] ; then
ECHON1="echo -n"