diff --git a/src/gsudo.Wrappers/gsudo b/src/gsudo.Wrappers/gsudo index f71fe94a..25c6d133 100644 --- a/src/gsudo.Wrappers/gsudo +++ b/src/gsudo.Wrappers/gsudo @@ -8,4 +8,4 @@ # For better experience (fix credentials cache) in git-bash/MinGw create this wrapper can be added as function in .bashrc: # gsudo() { WSLENV=WSL_DISTRO_NAME:USER:$WSLENV MSYS_NO_PATHCONV=1 gsudo.exe "$@"; } -WSLENV=WSL_DISTRO_NAME:USER:$WSLENV MSYS_NO_PATHCONV=1 $( dirname -- "$0")/gsudo.exe "$@" +WSLENV=WSL_DISTRO_NAME:USER:$WSLENV MSYS_NO_PATHCONV=1 "$( dirname -- "$0")/gsudo.exe" "$@"