diff options
Diffstat (limited to '')
-rwxr-xr-x | aux/checks/shellcheck.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/aux/checks/shellcheck.sh b/aux/checks/shellcheck.sh index 40fd364..585a75f 100755 --- a/aux/checks/shellcheck.sh +++ b/aux/checks/shellcheck.sh @@ -1,6 +1,6 @@ #!/bin/sh set -eu -find . -name '*.sh' -print0 | - xargs -0 awk 'FNR==1 && /^#!\/bin\/sh$/ { print FILENAME }' | - xargs shellcheck +git ls-files | + xargs awk '/^#!\/bin\/sh$/ { print FILENAME } { nextfile }' | + xargs shellcheck -x |