aboutsummaryrefslogtreecommitdiff
path: root/lint/games
diff options
context:
space:
mode:
Diffstat (limited to 'lint/games')
-rwxr-xr-xlint/games11
1 files changed, 1 insertions, 10 deletions
diff --git a/lint/games b/lint/games
index ef451f4e..38299a7f 100755
--- a/lint/games
+++ b/lint/games
@@ -1,11 +1,2 @@
#!/bin/sh
-for game in games/* ; do
- [ -f "$game" ] || continue
- hb=$(sed 1q "$game") || exit
- case $hb in
- *sh)
- printf '%s\n' "$game"
- shellcheck -- "$game"
- ;;
- esac
-done
+find games -type f -name '*.sh' -print -exec shellcheck -e SC1090 -s sh -- {} +