diff options
author | EuAndreh <eu@euandre.org> | 2021-01-23 19:56:35 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-01-23 19:56:35 -0300 |
commit | 6b7e12ab55d1328e6a1c421cbb362c1e76ca0ca1 (patch) | |
tree | f202a06a134ddada6d49644dc56a6b6f4eb21ab0 /build-aux | |
parent | Remove unused README.sh (diff) | |
download | euandre.org-6b7e12ab55d1328e6a1c421cbb362c1e76ca0ca1.tar.gz euandre.org-6b7e12ab55d1328e6a1c421cbb362c1e76ca0ca1.tar.xz |
{scripts => build-aux}/assert-shellcheck.sh
Diffstat (limited to '')
-rwxr-xr-x | build-aux/assert-shellcheck.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build-aux/assert-shellcheck.sh b/build-aux/assert-shellcheck.sh new file mode 100755 index 0000000..334a875 --- /dev/null +++ b/build-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 |