aboutsummaryrefslogtreecommitdiff
path: root/check/sh.sh
blob: c5a869558a54fae444a2bfcec3b249a4b0fd94da (plain)
1
2
3
4
5
6
7
8
9
10
11
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
printf 'All sh(1) scripts parsed successfully.\n'