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

                                                                     
                        
#!/bin/sh
set -eu

find . -name '*.sh' -print0 |
	xargs -0 awk 'FNR==1 && /^#!\/bin\/sh$/ { print FILENAME }' |
	xargs shellcheck