aboutsummaryrefslogblamecommitdiff
path: root/build-aux/assert-shellcheck.sh
blob: 334a875088a56515f5d1163df120db4854e2a5cc (plain) (tree)
1
2
3
4
5
6





                                                                 
#!/bin/sh
set -eux

git ls-files -z | \
  xargs -0 awk 'FNR==1 && /^#!\/bin\/sh$/ { print FILENAME }' | \
  xargs shellcheck