summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-03-28 10:14:59 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-03-28 10:14:59 -0400
commit90365bc8ec17a1674a51409d1037f35a68b00f1c (patch)
tree6ffbf2706b37776454bdf76c290c6d33d713d7a1 /repo
parentb5b2aaafeaceeec017f79003fa5001484a7f76b4 (diff)
downloadgpsd-90365bc8ec17a1674a51409d1037f35a68b00f1c.tar.gz
Use a no-reply from address.
Diffstat (limited to 'repo')
-rwxr-xr-xrepo/hooks/ciabot.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/repo/hooks/ciabot.sh b/repo/hooks/ciabot.sh
index d276efb8..9cced33e 100755
--- a/repo/hooks/ciabot.sh
+++ b/repo/hooks/ciabot.sh
@@ -63,7 +63,7 @@ urlprefix="http://${host}/cgi-bin/cgit.cgi/${repo}/commit/?id="
generator="http://www.catb.org/~esr/ciabot.sh"
# Addresses for the e-mail
-from="${LOGNAME}@${host}"
+from="CIABOT-NOREPLY@${host}"
to="cia@cia.vc"
# SMTP client to use - may need to edit the absolute pathname for your system
@@ -103,8 +103,9 @@ gitver=${gitver##* }
rev=$(git describe ${merged} 2>/dev/null)
# ${merged:0:12} was the only bashism left in the 2008 version of this
# script, according to checkbashisms. Replace it with ${merged} here
-# because it was just a fallback anyway, and it's worth taking accepting
-# a longer fallback for faster execution and removing the bash deoendency.
+# because it was just a fallback anyway, and it's worth accepting a
+# longer fallback for faster execution and removing the bash
+# dependency.
[ -z ${rev} ] && rev=${merged}
rawcommit=$(git cat-file commit ${merged})