diff options
author | EuAndreh <eu@euandre.org> | 2022-05-02 17:43:06 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-05-02 17:43:06 -0300 |
commit | 1edb60c86cf12a6c80a69a8ea182f4e04a6b5a44 (patch) | |
tree | b0c14ef937935bd12ef3fe11f0f53cedf3b56d04 | |
parent | bin/{tmp,pb}: ShellCheck (diff) | |
download | euandre.org-1edb60c86cf12a6c80a69a8ea182f4e04a6b5a44.tar.gz euandre.org-1edb60c86cf12a6c80a69a8ea182f4e04a6b5a44.tar.xz |
aux/assert-shellcheck.sh: Use git-ls-files over find
Diffstat (limited to '')
-rwxr-xr-x | aux/assert-shellcheck.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aux/assert-shellcheck.sh b/aux/assert-shellcheck.sh index 40fd364..29d66a5 100755 --- a/aux/assert-shellcheck.sh +++ b/aux/assert-shellcheck.sh @@ -1,6 +1,6 @@ #!/bin/sh set -eu -find . -name '*.sh' -print0 | - xargs -0 awk 'FNR==1 && /^#!\/bin\/sh$/ { print FILENAME }' | +git ls-files | + xargs awk 'FNR==1 && /^#!\/bin\/sh$/ { print FILENAME }' | xargs shellcheck |