diff --git a/vendor/init.bat b/vendor/init.bat index 1328fc7..4a31844 100644 --- a/vendor/init.bat +++ b/vendor/init.bat @@ -203,9 +203,12 @@ if defined GIT_INSTALL_ROOT ( :: define SVN_SSH so we can use git svn with ssh svn repositories if not defined SVN_SSH set "SVN_SSH=%GIT_INSTALL_ROOT:\=\\%\\bin\\ssh.exe" + for /F "delims=" %%F in ('env /usr/bin/locale -uU 2^>nul') do ( + set "LANG=%%F" + ) ) -endlocal & set "PATH=%PATH%" & set "SVN_SSH=%SVN_SSH%" & set "GIT_INSTALL_ROOT=%GIT_INSTALL_ROOT%" +endlocal & set "PATH=%PATH%" & set "LANG=%LANG%" & set "SVN_SSH=%SVN_SSH%" & set "GIT_INSTALL_ROOT=%GIT_INSTALL_ROOT%" %lib_console% debug-output init.bat "Env Var - GIT_INSTALL_ROOT=%GIT_INSTALL_ROOT%" %lib_console% debug-output init.bat "Found Git in: '%GIT_INSTALL_ROOT%'" goto :PATH_ENHANCE