aboutsummaryrefslogtreecommitdiff
path: root/aux/assert-shellcheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'aux/assert-shellcheck.sh')
-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 1779ea8..40fd364 100755
--- a/aux/assert-shellcheck.sh
+++ b/aux/assert-shellcheck.sh
@@ -1,6 +1,6 @@
#!/bin/sh
set -eu
-git ls-files | \
- xargs awk 'FNR==1 && /^#!\/bin\/sh$/ { print FILENAME }' | \
+find . -name '*.sh' -print0 |
+ xargs -0 awk 'FNR==1 && /^#!\/bin\/sh$/ { print FILENAME }' |
xargs shellcheck