Fix enhance_path call if no usr\bin in %GIT_INSTALL_ROOT%

This commit is contained in:
Stephen Solis 2021-01-16 23:34:22 +01:00 committed by GitHub
parent 9c9eac1875
commit 10d63daf90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
vendor/init.bat vendored
View File

@ -251,9 +251,9 @@ if %nix_tools% geq 1 (
%lib_path% enhance_path "%GIT_INSTALL_ROOT%\mingw32\bin" %path_position% %lib_path% enhance_path "%GIT_INSTALL_ROOT%\mingw32\bin" %path_position%
) else if exist "%GIT_INSTALL_ROOT%\mingw64" ( ) else if exist "%GIT_INSTALL_ROOT%\mingw64" (
%lib_path% enhance_path "%GIT_INSTALL_ROOT%\mingw64\bin" %path_position% %lib_path% enhance_path "%GIT_INSTALL_ROOT%\mingw64\bin" %path_position%
) else if exist "%GIT_INSTALL_ROOT%\usr\bin" (
%lib_path% enhance_path "%GIT_INSTALL_ROOT%\usr\bin" %path_position%
) )
%lib_path% enhance_path "%GIT_INSTALL_ROOT%\usr\bin" %path_position%
) )
:: define SVN_SSH so we can use git svn with ssh svn repositories :: define SVN_SSH so we can use git svn with ssh svn repositories