aboutsummaryrefslogtreecommitdiff
path: root/test/sh
blob: 354a40c78dcceaefab792402748d528bfd05d425 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh
for sh in sh/* sh/profile.d/* ; do
    if [ -f "$sh" ] && ! sh -n "$sh" ; then
        exit 1
    fi
done
printf 'All sh(1) scripts parsed successfully.\n'