From 863b2b98fd2e29b1427282ceee95606383e6c1ff Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Sun, 10 Nov 1996 02:27:12 +0000 Subject: [PATCH] This commit was generated by cvs2svn to compensate for changes in r9357, which included commits to RCS files with non-trunk default branches. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9358 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/send-pr/send-pr.sh | 6 +++--- 1 file 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" -- 2.26.2