aboutsummaryrefslogtreecommitdiff
path: root/lint/ksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-30 23:39:15 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-30 23:39:15 +1300
commit420c5f50624bba099a4e1cf4b8b50b635aad4989 (patch)
tree7f243e48a4b97e9457397577973bc040f771562e /lint/ksh
parentRemove unneeded typeset call (diff)
downloaddotfiles-420c5f50624bba099a4e1cf4b8b50b635aad4989.tar.gz
dotfiles-420c5f50624bba099a4e1cf4b8b50b635aad4989.zip
Clean up lint scripts a bit
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 -- {} +