diff options
Diffstat (limited to 'build-aux/assert-shellcheck.sh')
-rwxr-xr-x | build-aux/assert-shellcheck.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build-aux/assert-shellcheck.sh b/build-aux/assert-shellcheck.sh index d07815b..334a875 100755 --- a/build-aux/assert-shellcheck.sh +++ b/build-aux/assert-shellcheck.sh @@ -1,5 +1,6 @@ -#!/bin/sh -eux +#!/bin/sh +set -eux git ls-files -z | \ - xargs -0 awk 'FNR==1 && /^#!\/bin\/sh/ { print FILENAME }' | \ + xargs -0 awk 'FNR==1 && /^#!\/bin\/sh$/ { print FILENAME }' | \ xargs shellcheck |