summaryrefslogtreecommitdiffstats
path: root/git/gitolite-hooks/irc-announce
diff options
context:
space:
mode:
Diffstat (limited to 'git/gitolite-hooks/irc-announce')
-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 \