diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/util/send-pr/categories | 1 | ||||
| -rw-r--r-- | 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" |
