fix(tools/check_qml_syntax): exec correctly linter

This commit is contained in:
Ronan Abhamon 2017-01-11 11:30:10 +01:00
parent 4f715e083e
commit ec2b354573

View file

@ -22,7 +22,7 @@ if ! [ -x "$( command -v "$LINTER" )" ]; then
exit 0
fi
$("$LINTER" -v)
"${LINTER}" -v
if [[ $? != 0 ]] ; then
printf "${RED}Unable to check qml syntax.${NC}\n"
exit 0