blob: 89bef45083bd24a743e18a28259a06bd64816ca4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
find "$(dirname "$0")" -maxdepth 1 -type f -perm -100 -exec \
sh -c '
if head -n1 "$1" | egrep -q "sh$"; then
echo "====== CHECKING $1 ======";
shellcheck "$1";
fi
' shell {} \;
|