aboutsummaryrefslogtreecommitdiff
path: root/lint/games.sh
blob: 240961af73ec53304d9c511594bfa091a709648a (plain) (blame)
1
2
3
4
5
6
7
# POSIX sh
set --
for game in games/*.sh ; do
    set -- "$@" "${game%.sh}"
done
shellcheck -e SC1090 -- "$@" || exit
printf 'sh(1) games linted successfully.\n'