tests: only run hooks/pre-commit if its present (not in source tarball)

This commit is contained in:
Hans-Christoph Steiner committed 2019-07-03 20:47:27 +02:00
1 parent 9e32e2d770
commit 4ddd840471
1 file changed
+1 -1
+1 -1
View File
@@ -128,7 +128,7 @@ set -x # show each command as it is executed
echo_header "run commit hooks"
cd $WORKSPACE
./hooks/pre-commit
test -x ./hooks/pre-commit && ./hooks/pre-commit
#------------------------------------------------------------------------------#