summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-03-26 09:34:33 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-03-26 09:34:33 -0400
commit58023246309affea6837dab173791c31a92ea516 (patch)
tree746f8290059253ce601ee092b92dc35789cb3cad /repo
parent5acf69ce4de84a8db57f8b8ca2eda837760e954d (diff)
downloadgpsd-58023246309affea6837dab173791c31a92ea516.tar.gz
Make this closer to autoconfiguring.
Diffstat (limited to 'repo')
-rwxr-xr-xrepo/hooks/ciabot.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/repo/hooks/ciabot.sh b/repo/hooks/ciabot.sh
index 81844902..393c277b 100755
--- a/repo/hooks/ciabot.sh
+++ b/repo/hooks/ciabot.sh
@@ -24,19 +24,21 @@
# done
#
-# The project as known to CIA
+# The project as known to CIA:
project="GPSD"
repo="${REPO:-gpsd}"
-# Addresses for the e-mail
-from="esr@thyrsus.com"
-to="cia@cia.vc"
-
# Changeset URL prefix for your repo: when the commit ID is appended
# to this, it should point at a CGI that will display the commit
# through gitweb or something similar.
urlprefix="http://git.berlios.de/cgi-bin/gitweb.cgi?p=$repo;a=commit;h="
+# You probably will not need to change the following:
+
+# Addresses for the e-mail
+from="$LOGNAME@`hostname --fqdn`"
+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}"