fix(pre-commit): do not execute scripts with sh

This commit is contained in:
Ronan Abhamon 2017-08-16 15:22:33 +02:00
parent 986bbddd83
commit be9be57a38

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Check QML files, quit on failure.
sh './tools/check_qml_syntax'
'./tools/check_qml_syntax'
if [[ $? != 0 ]] ; then
exit 1
@ -10,6 +10,6 @@ fi
printf '\n'
# Run unit tests.
sh './tools/test_qml'
'./tools/test_qml'
exit $?