git-secret/vendor/bats-core/shellcheck.sh

21 lines
277 B
Bash
Raw Normal View History

2021-05-03 12:43:04 +00:00
#!/usr/bin/env bash
set -e
targets=()
while IFS= read -r -d $'\0'; do
targets+=("$REPLY")
done < <(
find \
bin/bats \
libexec/bats-core \
lib/bats-core \
shellcheck.sh \
-type f \
-print0
)
LC_ALL=C.UTF-8 shellcheck "${targets[@]}"
exit $?