aboutsummaryrefslogtreecommitdiff
path: root/check/login-shell.sh
blob: 88eac59e1eb0480bbc8ffd69be8f44c286a1193c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
shell=$(getent passwd "$USER" | cut -d: -f7)
case ${shell##*/} in
    bash)
        target=check-bash ;;
    ksh|ksh88|ksh93|mksh|pdksh)
        target=check-ksh ;;
    zsh)
        target=check-zsh ;;
    *)
        target=check-sh ;;
esac
make "$target"