aboutsummaryrefslogtreecommitdiff
path: root/aux/assert-shellcheck.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-15 17:31:16 -0300
committerEuAndreh <eu@euandre.org>2021-08-15 17:31:16 -0300
commit651bb5b3fb3a9b36599e1891efb22efb4bf34c3f (patch)
treeefbe3f44dccff3ed8eea651fed57c4ca937c03e9 /aux/assert-shellcheck.sh
parent_articles/2020-11-07-diy-an-offline-bug-tracker-with-text-files-git-and-email... (diff)
downloadeuandre.org-651bb5b3fb3a9b36599e1891efb22efb4bf34c3f.tar.gz
euandre.org-651bb5b3fb3a9b36599e1891efb22efb4bf34c3f.tar.xz
aux/: Update
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 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