From f372b831ed58b0c1abf41e90ac2560508e849960 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 18 Jun 2017 16:35:55 +1200 Subject: Update check/lint sh --- check/sh.sh | 8 +++++++- lint/sh.sh | 6 +++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/check/sh.sh b/check/sh.sh index 53d8c4b6..c5a86955 100644 --- a/check/sh.sh +++ b/check/sh.sh @@ -1,4 +1,10 @@ -for sh in sh/* sh/profile.d/* sh/shrc.d/* ; do +for sh in \ + sh/* sh/profile.d/* sh/shrc.d/* \ + keychain/profile.d/* keychain/shrc.d/* \ + ksh/shrc.d/* \ + mpd/profile.d/* \ + plenv/profile.d/* plenv/shrc.d/* \ +; do [ -f "$sh" ] || continue sh -n "$sh" || exit done diff --git a/lint/sh.sh b/lint/sh.sh index ccf4cc7f..89704c0b 100644 --- a/lint/sh.sh +++ b/lint/sh.sh @@ -1,2 +1,6 @@ -find sh ksh/shrc.d mpd/profile.d \ +find sh \ + keychain/profile.d keychain/shrc.d \ + ksh/shrc.d \ + mpd/profile.d \ + plenv/profile.d plenv/shrc.d \ -type f -print -exec shellcheck -e SC1090 -s sh -- {} + -- cgit v1.2.3