diff options
author | EuAndreh <eu@euandre.org> | 2023-04-02 10:33:40 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-04-02 16:36:23 -0300 |
commit | 22a7b4f0c8e018077984d58476a0c419b5e11942 (patch) | |
tree | 0343f0defd1bcea762dcce10b29c8c909661b577 /aux/checks/shellcheck.sh | |
parent | aux/dev.mk: make in parallel over for loop (diff) | |
download | remembering-22a7b4f0c8e018077984d58476a0c419b5e11942.tar.gz remembering-22a7b4f0c8e018077984d58476a0c419b5e11942.tar.xz |
aux/checks/repo.sh: WIP Fix tests
Notes
See CI logs with:
git notes --ref=refs/notes/ci-logs show 22a7b4f0c8e018077984d58476a0c419b5e11942
git notes --ref=refs/notes/ci-data show 22a7b4f0c8e018077984d58476a0c419b5e11942
Exit status: 2
Duration: 7
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 |