diff options
author | EuAndreh <eu@euandre.org> | 2021-01-27 14:02:07 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-01-27 14:02:28 -0300 |
commit | f19c14c2d014ff9aa4bb1bd8e2c186effe6dbdab (patch) | |
tree | a557f15d828953ff086a36cadeef98ebb5918705 /aux/assert-shellcheck.sh | |
parent | Update shared README.sh (diff) | |
download | toph-f19c14c2d014ff9aa4bb1bd8e2c186effe6dbdab.tar.gz toph-f19c14c2d014ff9aa4bb1bd8e2c186effe6dbdab.tar.xz |
mv build-aux/ aux/
Diffstat (limited to 'aux/assert-shellcheck.sh')
-rwxr-xr-x | aux/assert-shellcheck.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/aux/assert-shellcheck.sh b/aux/assert-shellcheck.sh new file mode 100755 index 0000000..334a875 --- /dev/null +++ b/aux/assert-shellcheck.sh @@ -0,0 +1,6 @@ +#!/bin/sh +set -eux + +git ls-files -z | \ + xargs -0 awk 'FNR==1 && /^#!\/bin\/sh$/ { print FILENAME }' | \ + xargs shellcheck |