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
commit 3344268c24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
if exist "!GIT_INSTALL_ROOT!\cmd\git.exe" %lib_path% enhance_path "!GIT_INSTALL_ROOT!\cmd" append
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" (
%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