aboutsummaryrefslogtreecommitdiff
path: root/lint/ksh
diff options
context:
space:
mode:
Diffstat (limited to 'lint/ksh')
-rwxr-xr-xlint/ksh4
1 files changed, 3 insertions, 1 deletions
diff --git a/lint/ksh b/lint/ksh
index 5c5445fc..ee49d178 100755
--- a/lint/ksh
+++ b/lint/ksh
@@ -1,2 +1,4 @@
#!/bin/sh
-find ksh -type f -print -exec shellcheck -e SC1090 -s ksh -- {} \;
+find ksh \
+ -type f -name '*.sh' -exec shellcheck -e SC1090 -s sh -- {} + -o \
+ -type f -exec shellcheck -e SC1090 -s ksh -- {} +