summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-03-27 00:40:57 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-03-27 00:40:57 -0400
commit6c3cd718f965389d7941baad443ad57d61c1c4f7 (patch)
treec06e64dc489139f72e5c11932a04fc5ea735966f /repo
parent6e09dc3c82b40f49cfadae0cdc10e4bc80b0c2c9 (diff)
downloadgpsd-6c3cd718f965389d7941baad443ad57d61c1c4f7.tar.gz
Factor out the generator string.
Diffstat (limited to 'repo')
-rwxr-xr-xrepo/hooks/ciabot.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/repo/hooks/ciabot.sh b/repo/hooks/ciabot.sh
index d33b90a3..c7866e75 100755
--- a/repo/hooks/ciabot.sh
+++ b/repo/hooks/ciabot.sh
@@ -51,6 +51,9 @@ urlprefix="http://${host}/cgi-bin/cgit.cgi/${repo}/commit/?id="
# You probably will not need to change the following:
#
+# Identify the script. Should change only wghen the script itself
+generator="http://www.catb.org/~esr/ciabot.py"
+
# Addresses for the e-mail
from="${LOGNAME}@${host}"
to="cia@cia.vc"
@@ -107,7 +110,7 @@ out="
<generator>
<name>CIA Shell client for Git</name>
<version>${gitver}</version>
- <url>http://dev.alpinelinux.org/~ncopa/alpine/ciabot.sh</url>
+ <url>${generator}</url>
</generator>
<source>
<project>${project}</project>