diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-10-10 10:41:10 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2019-10-10 14:52:48 +0000 |
commit | 85926c9d512e5d5d33a2cadfac1a834515399546 (patch) | |
tree | 1d75e37d58f5cc4b30a3f79c0838c54107cd14a6 | |
parent | a51db43b580f774c64275cd3e1e0c707de2a04a4 (diff) |
Prospective shell syntax fix for clang-pre-commit hook
Change-Id: I231d81b599b2e8b0da135a53061ddb8173236c4b
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
-rwxr-xr-x | git-hooks/clang-format-pre-commit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/clang-format-pre-commit b/git-hooks/clang-format-pre-commit index 051c6dd..25d87ec 100755 --- a/git-hooks/clang-format-pre-commit +++ b/git-hooks/clang-format-pre-commit @@ -12,7 +12,7 @@ # CLANG_FORMAT=`which git-clang-format` -if test -n "$CLANG_FORMAT" +if test -n "$CLANG_FORMAT"; then echo "Please install clang-format and make sure git-clang-format is in the path." exit 0 fi |