From 13ea026dc9f3525626346785b6e5e18934b6c084 Mon Sep 17 00:00:00 2001 From: Dax T Games Date: Thu, 26 Apr 2018 19:06:18 -0400 Subject: [PATCH] Fix git install root This is untested so don't merge yet. I'll test tonight. --- vendor/init.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vendor/init.bat b/vendor/init.bat index 380100a..4c156ef 100644 --- a/vendor/init.bat +++ b/vendor/init.bat @@ -197,15 +197,15 @@ if defined GIT_INSTALL_ROOT ( ) else if exist "!GIT_INSTALL_ROOT!\mingw64" ( %lib_path% enhance_path "!GIT_INSTALL_ROOT!\mingw64" append ) - %lib_path% enhance_path "%GIT_INSTALL_ROOT%\usr\bin" append + %lib_path% enhance_path "!GIT_INSTALL_ROOT!\usr\bin" append :: 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" ) :NO_GIT -endlocal & set "PATH=%PATH%" & 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%" +endlocal & set "PATH=%PATH%" & 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!" :: Enhance Path %lib_path% enhance_path_recursive "%CMDER_ROOT%\bin" %max_depth%