mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 19:38:09 +00:00
fix(pre-commit): do not execute scripts with sh
This commit is contained in:
parent
986bbddd83
commit
be9be57a38
1 changed files with 2 additions and 2 deletions
|
|
@ -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 $?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue