Fix incorrect test command

This commit is contained in:
Ivan Starkov authored and cybice committed 2016-03-14 20:18:40 +03:00
1 parent d521932dcb
commit 34a881f917
1 file changed
+1 -1
+1 -1
View File
@@ -56,7 +56,7 @@ git_hook_cmd() {
# shellcheck disable=SC2086 # shellcheck disable=SC2086
plugn trigger receive-app $APP $newrev plugn trigger receive-app $APP $newrev
else else
if test -f "$PLUGIN_PATH"/enabled/*/receive-branch; then if [[ $(find "$PLUGIN_PATH"/enabled/*/receive-branch 2>/dev/null | wc -l) != 0 ]]; then
# shellcheck disable=SC2086 # shellcheck disable=SC2086
plugn trigger receive-branch $APP $newrev $refname plugn trigger receive-branch $APP $newrev $refname
else else