From 3c5e30cb85a447887534b35649d08dedfd222e6d Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Sun, 10 Nov 1996 01:33:50 +0000 Subject: [PATCH] This commit was generated by cvs2svn to compensate for changes in r9354, which included commits to RCS files with non-trunk default branches. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9355 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/send-pr/categories | 1 + src/util/send-pr/send-pr.sh | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/util/send-pr/categories b/src/util/send-pr/categories index c0c8fc402..7700dd2bb 100644 --- a/src/util/send-pr/categories +++ b/src/util/send-pr/categories @@ -5,6 +5,7 @@ krb5-clients krb5-appl krb5-doc krb5-misc +krb5-build pty telnet test diff --git a/src/util/send-pr/send-pr.sh b/src/util/send-pr/send-pr.sh index 9d1412ce6..88dbe836d 100644 --- a/src/util/send-pr/send-pr.sh +++ b/src/util/send-pr/send-pr.sh @@ -55,12 +55,17 @@ GNATS_SITE=mit # 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="/usr/lib/sendmail -oi -t" +if [ ! -x $MAIL_AGENT ] ; 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 " +fi # How to read the passwd database. PASSWD="cat /etc/passwd" -ECHON=bsd +ECHON=sysv if [ $ECHON = bsd ] ; then ECHON1="echo -n" -- 2.26.2