diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-31 23:07:20 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-31 23:07:20 +1300 |
commit | 9d044a7dae36d42d620a1a6bc63a43aab9a6b8b7 (patch) | |
tree | 92b1f50e6a584611ae63778734a38f132982004b /check/sh.sh | |
parent | Merge branch 'release/v0.1.0' (diff) | |
parent | Bump version number to 0.2.0 (diff) | |
download | dotfiles-0.2.0.tar.gz (sig) dotfiles-0.2.0.zip |
Merge branch 'release/v0.2.0'v0.2.0
Diffstat (limited to 'check/sh.sh')
-rw-r--r-- | check/sh.sh | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/check/sh.sh b/check/sh.sh index c5a86955..92910c11 100644 --- a/check/sh.sh +++ b/check/sh.sh @@ -1,11 +1,10 @@ -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 +set \ + sh/profile \ + sh/profile.d/*.sh \ + sh/shinit \ + sh/shrc \ + sh/shrc.d/*.sh +for sh ; do + sh -n -- "$sh" || exit done -printf 'All sh(1) scripts parsed successfully.\n' +printf 'POSIX shell dotfiles parsed successfully.\n' |