diff options
| author | EuAndreh <eu@euandre.org> | 2021-01-18 22:33:30 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-01-18 22:33:30 -0300 |
| commit | c2dbf740cb8fe8165546adedca7f6d6c965052fd (patch) | |
| tree | 9bb00c93194ba6974b543ab8d4776addc9c937ee /build-aux/assert-shellcheck.sh | |
| parent | git mv vps.tf vultr.tf (diff) | |
| download | toph-c2dbf740cb8fe8165546adedca7f6d6c965052fd.tar.gz toph-c2dbf740cb8fe8165546adedca7f6d6c965052fd.tar.xz | |
Move POSIX sh options out of the shebang line
Diffstat (limited to '')
| -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 |
