Merge pull request #1887 from gaoslin/master

Update init.bat, fix PR #1665
This commit is contained in:
Dax T Games
2018-09-29 17:06:53 -04:00
committed by GitHub

4
vendor/init.bat vendored
View File

@ -210,9 +210,9 @@ if defined GIT_INSTALL_ROOT (
rem add the unix commands at the end to not shadow windows commands like more rem add the unix commands at the end to not shadow windows commands like more
if exist "!GIT_INSTALL_ROOT!\cmd\git.exe" %lib_path% enhance_path "!GIT_INSTALL_ROOT!\cmd" append if exist "!GIT_INSTALL_ROOT!\cmd\git.exe" %lib_path% enhance_path "!GIT_INSTALL_ROOT!\cmd" append
if exist "!GIT_INSTALL_ROOT!\mingw32" ( if exist "!GIT_INSTALL_ROOT!\mingw32" (
%lib_path% enhance_path "!GIT_INSTALL_ROOT!\mingw32" append %lib_path% enhance_path "!GIT_INSTALL_ROOT!\mingw32\bin" append
) else if exist "!GIT_INSTALL_ROOT!\mingw64" ( ) else if exist "!GIT_INSTALL_ROOT!\mingw64" (
%lib_path% enhance_path "!GIT_INSTALL_ROOT!\mingw64" append %lib_path% enhance_path "!GIT_INSTALL_ROOT!\mingw64\bin" append
) )
%lib_path% enhance_path "!GIT_INSTALL_ROOT!\usr\bin" append %lib_path% enhance_path "!GIT_INSTALL_ROOT!\usr\bin" append