Merge pull request #1311 from scop/shell-detect-improvements

Shell detect improvements
This commit is contained in:
Hiroshi SHIBATA 2021-04-27 13:14:58 +09:00 committed by GitHub
commit ccb4601f3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,6 +38,7 @@ if [ -z "$shell" ]; then
shell="${shell##-}"
shell="${shell:-$SHELL}"
shell="${shell##*/}"
shell="${shell%%-*}"
fi
root="${0%/*}/.."