From 48fdbae4172185dc34d077f38150d5fb466a0619 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 26 Mar 2010 09:18:14 -0400 Subject: Attempt to isolate the bad change. --- repo/hooks/ciabot.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'repo') diff --git a/repo/hooks/ciabot.sh b/repo/hooks/ciabot.sh index fd48defa..41c8c6e7 100755 --- a/repo/hooks/ciabot.sh +++ b/repo/hooks/ciabot.sh @@ -32,15 +32,18 @@ repo="${REPO:-gpsd}" from="esr@thyrsus.com" 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}" - # 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.alpinelinux.org/cgit/$repo/commit/?id=" -# You shouldn't be touching anything else. +# SMTP client to use - may need to edit the absolute pathname for your system +sendmail="/usr/sbin/sendmail -t -f ${from}" + +# +# No user-serviceable parts below this line +# + if [ $# -eq 0 ] ; then refname=$(git symbolic-ref HEAD 2>/dev/null) merged=$(git rev-parse HEAD) -- cgit v1.2.1