Skip to content
Snippets Groups Projects
Unverified Commit 1d9c46f4 authored by Oliver Smith's avatar Oliver Smith
Browse files

CI: shellcheck: check if it is installed (MR 12)

parent 0f9eec88
No related branches found
No related tags found
1 merge request!12CI: various improvements
......@@ -13,6 +13,11 @@ if [ "$(id -u)" = 0 ]; then
exec su "${TESTUSER:-build}" -c "sh -e $0"
fi
if [ -z "$(command -v shellcheck 2>/dev/null)" ]; then
echo "ERROR: install shellcheck or use 'pmbootstrap ci'"
exit 1
fi
# Shell: shellcheck
sh_files="
$(find . -path '*.sh')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment