Make sure Windows bash CLI works with spaces in user name

This commit is contained in:
Daniel Imms 2019-04-19 09:46:52 -07:00
parent 7d39e805fb
commit 12cb89c82e

View file

@ -16,7 +16,7 @@ if grep -qi Microsoft /proc/version; then
if ! [ -z "$WSL_EXT_WLOC" ]; then
# replace \r\n with \n in WSL_EXT_WLOC, get linux path for
WSL_CODE=$(wslpath -u "${WSL_EXT_WLOC%%[[:cntrl:]]}")/scripts/wslCode.sh
$WSL_CODE $COMMIT $QUALITY "$WIN_CODE_CMD" "$APP_NAME" "$@"
"$WSL_CODE" $COMMIT $QUALITY "$WIN_CODE_CMD" "$APP_NAME" "$@"
exit $?
fi
fi