diff options
author | tv <tv@nomic.retiolum> | 2014-03-14 13:39:14 +0100 |
---|---|---|
committer | tv <tv@nomic.retiolum> | 2014-03-14 13:39:14 +0100 |
commit | 3d369402d011e067e7c3bd89460f94bb26048a16 (patch) | |
tree | 7ed6ba6c633c6f6e0767c3f7b62829e7a4a436ec | |
parent | 2250b2e9f2bce4c9e18e13c51104b5d87fbc07cf (diff) |
irc-announce: test =, not ==
-rwxr-xr-x | git/gitolite-hooks/irc-announce | 2 |
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 \ |