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