Unverified Commit 03de8e72 authored by black's avatar black Committed by GitHub

Merge pull request #1291 from MitchWeaver/support_other_kshs

support other versions of ksh
parents b886122a 4120ad49
......@@ -1460,7 +1460,7 @@ get_shell() {
"bash") shell+="${BASH_VERSION/-*}" ;;
"sh" | "ash" | "dash") ;;
"mksh" | "ksh")
*"ksh")
shell+="$("$SHELL" -c "printf %s \"\$KSH_VERSION\"")"
shell="${shell/ * KSH}"
shell="${shell/version}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment