aboutsummaryrefslogtreecommitdiff
path: root/lint/ksh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lint/ksh.sh')
-rw-r--r--lint/ksh.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/lint/ksh.sh b/lint/ksh.sh
index fd558727..4cedc6f7 100644
--- a/lint/ksh.sh
+++ b/lint/ksh.sh
@@ -1,5 +1,3 @@
-shellcheck -e SC1090 -s sh -- \
- ksh/shrc.d/*.sh
-shellcheck -e SC1090 -s ksh -- \
- ksh/kshrc \
- ksh/kshrc.d/*.ksh
+find ksh \
+ -type f -name '*.sh' -exec shellcheck -e SC1090 -s sh -- {} + -o \
+ -type f -exec shellcheck -e SC1090 -s ksh -- {} +