From 22a7b4f0c8e018077984d58476a0c419b5e11942 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 2 Apr 2023 10:33:40 -0300 Subject: aux/checks/repo.sh: WIP Fix tests --- aux/checks/shellcheck.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'aux/checks/shellcheck.sh') 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 -- cgit v1.2.3