Skip to content

Commit a7e45ef

Browse files
authored
Merge pull request #2464 from stephensolis/patch-1
Fix: "The system cannot find the file specified" if %GIT_INSTALL_ROOT%\usr\bin doesn't exist
2 parents 9c9eac1 + 10d63da commit a7e45ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vendor/init.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,9 @@ if %nix_tools% geq 1 (
251251
%lib_path% enhance_path "%GIT_INSTALL_ROOT%\mingw32\bin" %path_position%
252252
) else if exist "%GIT_INSTALL_ROOT%\mingw64" (
253253
%lib_path% enhance_path "%GIT_INSTALL_ROOT%\mingw64\bin" %path_position%
254+
) else if exist "%GIT_INSTALL_ROOT%\usr\bin" (
255+
%lib_path% enhance_path "%GIT_INSTALL_ROOT%\usr\bin" %path_position%
254256
)
255-
256-
%lib_path% enhance_path "%GIT_INSTALL_ROOT%\usr\bin" %path_position%
257257
)
258258

259259
:: define SVN_SSH so we can use git svn with ssh svn repositories

0 commit comments

Comments
 (0)