summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/pre-commit.hook4
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/pre-commit.hook b/hooks/pre-commit.hook
index 2c6c039..4d4682d 100755
--- a/hooks/pre-commit.hook
+++ b/hooks/pre-commit.hook
@@ -8,9 +8,9 @@
# so check for that first.
version=`gnuindent --version 2>/dev/null`
-if test x$version = x; then
+if test "x$version" = "x"; then
version=`indent --version 2>/dev/null`
- if test x$version = x; then
+ if test "x$version" = "x"; then
echo "GStreamer git pre-commit hook:"
echo "Did not find GNU indent, please install it before continuing."
exit 1