From 58023246309affea6837dab173791c31a92ea516 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 26 Mar 2010 09:34:33 -0400 Subject: Make this closer to autoconfiguring. --- repo/hooks/ciabot.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'repo') 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}" -- cgit v1.2.1