1

shellcheck

This commit is contained in:
Motiejus Jakštys
2022-10-13 12:48:43 +03:00
parent 7383c4984e
commit 557b726d62
3 changed files with 33 additions and 33 deletions

View File

@@ -6,7 +6,7 @@ cd "$(git rev-parse --show-toplevel)"
mapfile -t files < \
<(git ls-files)
mapfile -t scripts < \
<(awk '/#!\/usr\/bin\/env/&&FNR==1{print FILENAME}' "${files[@]}")
<(awk '/#!(\/usr\/bin\/env bash|\/bin\/sh)/&&FNR==1{print FILENAME}' "${files[@]}")
mapfile -t buildfiles < \
<(find . \( -name 'WORKSPACE' -o -name 'BUILD' -o -name '*.bzl' \))