Unverified Commit 9fe7ec4c authored by M. Herdiansyah's avatar M. Herdiansyah Committed by GitHub

Merge pull request #1057 from nero/mksh-nospace-fix

Fix borked version display for mksh
parents 2afc5a27 f960594c
......@@ -1366,7 +1366,7 @@ get_shell() {
"sh" | "ash" | "dash") ;;
"mksh" | "ksh")
shell+="$("$SHELL" -c "printf %s \$KSH_VERSION")"
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