aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-04-04 11:41:14 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2012-04-04 11:41:14 -0400
commitefdd1e623e2dc060ae9b524b67c624037d8a94f0 (patch)
treeba6147c8aaed5b346f639d26b03ad641e9828566
parent[ticket/10760] PHP is great. This commit is the proof. (diff)
downloadphpbb-efdd1e623e2dc060ae9b524b67c624037d8a94f0.tar.gz
phpbb-efdd1e623e2dc060ae9b524b67c624037d8a94f0.tar.bz2
phpbb-efdd1e623e2dc060ae9b524b67c624037d8a94f0.zip
[ticket/10760] Value must be quoted as it might be two words.
PHPBB3-10760
-rwxr-xr-xgit-tools/hooks/pre-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-tools/hooks/pre-commit b/git-tools/hooks/pre-commit
index 9e78edd90d..ecc3a35ba3 100755
--- a/git-tools/hooks/pre-commit
+++ b/git-tools/hooks/pre-commit
@@ -17,7 +17,7 @@ then
PHP_BIN=php
fi
-if [ $(echo -e test) = test ]
+if [ "$(echo -e test)" = test ]
then
echo_e="echo -e"
else