Shell: Cut 'version' from ksh output

This commit is contained in:
Dylan Araps 2016-12-15 21:44:02 +11:00
parent c6c4a47cf5
commit d1cd0fd741
1 changed files with 1 additions and 0 deletions

View File

@ -510,6 +510,7 @@ get_shell() {
"mksh" | "ksh")
shell+="$("$SHELL" -c 'printf "%s" "$KSH_VERSION"')"
shell="${shell/ * KSH}"
shell="${shell/Version}"
;;
esac