aboutsummaryrefslogtreecommitdiff
path: root/check/bash
blob: f203c2c1fd16757e9dc36209abd92df7ad7469a3 (plain)
1
2
3
4
5
6
#!/bin/sh
for bash in bash/* bash/bashrc.d/* bash/bash_profile.d/* ; do
    [ -f "$bash" ] || continue
    bash -n "$bash" || exit
done
printf 'All bash(1) scripts parsed successfully.\n'