Don't fail if shellcheck is to be installed manually

This commit is contained in:
Marcin Grzejszczak
2019-04-09 16:50:55 +02:00
parent 16306d7ff9
commit d4e75dba89

View File

@@ -43,13 +43,13 @@ case $1 in
echo "It seems that automatic installation is not supported on your platform."
echo "Please install shellcheck manually:"
echo " https://github.com/koalaman/shellcheck#installing"
exit 1
exit 0
fi
;;
run-shellcheck)
echo "Running shellcheck"
"${SHELLCHECK_BIN}" "${ROOT_DIR}"/src/main/asciidoc/*.sh
echo "Shellcheck passed sucesfully!"
echo "Shellcheck passed sucessfully!"
;;
download-bats)
if [[ -x "${ROOT_DIR}/../target/bats/bin/bats" ]]; then