summaryrefslogtreecommitdiffstats
path: root/git/gitolite-hooks
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2014-03-14 13:39:14 +0100
committertv <tv@nomic.retiolum>2014-03-14 13:39:14 +0100
commit3d369402d011e067e7c3bd89460f94bb26048a16 (patch)
tree7ed6ba6c633c6f6e0767c3f7b62829e7a4a436ec /git/gitolite-hooks
parent2250b2e9f2bce4c9e18e13c51104b5d87fbc07cf (diff)
irc-announce: test =, not ==
Diffstat (limited to 'git/gitolite-hooks')
-rwxr-xr-xgit/gitolite-hooks/irc-announce2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/gitolite-hooks/irc-announce b/git/gitolite-hooks/irc-announce
index 46382665..691b9d82 100755
--- a/git/gitolite-hooks/irc-announce
+++ b/git/gitolite-hooks/irc-announce
@@ -81,7 +81,7 @@ privmsg_cat() { awk '{ print "PRIVMSG "ENVIRON["IRC_CHANNEL"]" :"$0 }'; }
"$reponame" \
"$username" \
"$commit_count" \
- "$(test $commit_count == 1 || echo s)" \
+ "$(test $commit_count = 1 || echo s)" \
"$(hostname)" \
"$ref_name" \
| privmsg_cat \