From 09182f5ed6cdd1f41da6454c42e65bba84ff0ac2 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 13 Aug 2021 23:32:18 -0300 Subject: aux/assert-shellcheck.sh: Stop depending being on a Git repository --- aux/assert-shellcheck.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'aux/assert-shellcheck.sh') diff --git a/aux/assert-shellcheck.sh b/aux/assert-shellcheck.sh index 29d66a5..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 -- cgit v1.2.3