summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-03-26 15:42:39 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-03-26 15:42:39 -0400
commit694b3454a25eb66d8c63e9c97abf19d678d4ba80 (patch)
tree54afa1ece1c45f1d161d799eda04d4ab7dd99a92 /repo
parent82d09056fde8f01e81720481e55a98f2a5fbe57c (diff)
downloadgpsd-694b3454a25eb66d8c63e9c97abf19d678d4ba80.tar.gz
Improve pathname handling for sendmail.
Diffstat (limited to 'repo')
-rwxr-xr-xrepo/hooks/ciabot.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/repo/hooks/ciabot.sh b/repo/hooks/ciabot.sh
index 3271d39d..6c8799fd 100755
--- a/repo/hooks/ciabot.sh
+++ b/repo/hooks/ciabot.sh
@@ -57,13 +57,15 @@ from="${LOGNAME}@${host}"
to="cia@cia.vc"
# SMTP client to use - may need to edit the absolute pathname for your system
-sendmail="/usr/sbin/sendmail -t -f ${from}"
+sendmail="sendmail -t -f ${from}"
#
# No user-serviceable parts below this line:
#
-PATH="$PATH:`git --exec-path`"
+# Should include both places sendmail is likely to lurk
+# and the git private command directory.
+PATH="$PATH:/usr/sbin/:`git --exec-path`"
if [ $# -eq 0 ] ; then
refname=$(git symbolic-ref HEAD 2>/dev/null)