Skip to content

Commit

Permalink
Merge pull request #32 from Nordix/tuomo/shellcheck-also-runmariadb
Browse files Browse the repository at this point in the history
shellcheck runmariadb script
  • Loading branch information
metal3-io-bot authored Jan 13, 2025
2 parents 3025ecf + 45a0ee3 commit e01715f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/shellcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CONTAINER_RUNTIME="${CONTAINER_RUNTIME:-podman}"

if [ "${IS_CONTAINER}" != "false" ]; then
TOP_DIR="${1:-.}"
find "${TOP_DIR}" -path ./vendor -prune -o -name '*.sh' -type f -exec shellcheck -s bash {} \+
find "${TOP_DIR}" -name 'runmariadb' -o -name '*.sh' -type f -exec shellcheck -s bash {} \+
else
"${CONTAINER_RUNTIME}" run --rm \
--env IS_CONTAINER=TRUE \
Expand Down

0 comments on commit e01715f

Please sign in to comment.