From: Sam Hartman Date: Sun, 10 Nov 1996 02:27:12 +0000 (+0000) Subject: This commit was generated by cvs2svn to compensate for changes in r9357, X-Git-Tag: krb5-1.0-freeze1~70 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=863b2b98fd2e29b1427282ceee95606383e6c1ff;p=krb5.git 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 --- 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"