aboutsummaryrefslogtreecommitdiff
path: root/lint/ksh.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-31 23:07:20 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-31 23:07:20 +1300
commit9d044a7dae36d42d620a1a6bc63a43aab9a6b8b7 (patch)
tree92b1f50e6a584611ae63778734a38f132982004b /lint/ksh.sh
parentMerge branch 'release/v0.1.0' (diff)
parentBump version number to 0.2.0 (diff)
downloaddotfiles-0.2.0.tar.gz (sig)
dotfiles-0.2.0.zip
Merge branch 'release/v0.2.0'v0.2.0
Diffstat (limited to 'lint/ksh.sh')
-rw-r--r--lint/ksh.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/lint/ksh.sh b/lint/ksh.sh
index 4cedc6f7..102e0e54 100644
--- a/lint/ksh.sh
+++ b/lint/ksh.sh
@@ -1,3 +1,6 @@
-find ksh \
- -type f -name '*.sh' -exec shellcheck -e SC1090 -s sh -- {} + -o \
- -type f -exec shellcheck -e SC1090 -s ksh -- {} +
+set \
+ ksh/kshrc \
+ ksh/kshrc.d/*.ksh
+shellcheck -e SC1090 -s ksh -- "$@" || exit
+shellcheck -e SC1090 -s sh -- ksh/shrc.d/ksh.sh || exit
+printf 'Korn shell dotfiles linted successfully.\n'