aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-05-02 17:43:06 -0300
committerEuAndreh <eu@euandre.org>2022-05-02 17:43:06 -0300
commit1edb60c86cf12a6c80a69a8ea182f4e04a6b5a44 (patch)
treeb0c14ef937935bd12ef3fe11f0f53cedf3b56d04
parentbin/{tmp,pb}: ShellCheck (diff)
downloadeuandre.org-1edb60c86cf12a6c80a69a8ea182f4e04a6b5a44.tar.gz
euandre.org-1edb60c86cf12a6c80a69a8ea182f4e04a6b5a44.tar.xz
aux/assert-shellcheck.sh: Use git-ls-files over find
Diffstat (limited to '')
-rwxr-xr-xaux/assert-shellcheck.sh4
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