2
0
mirror of https://github.com/cmderdev/cmder.git synced 2025-05-08 01:04:38 +08:00

Merge pull request from stephensolis/patch-1

Fix: "The system cannot find the file specified" if %GIT_INSTALL_ROOT%\usr\bin doesn't exist
This commit is contained in:
Dax T Games 2021-01-17 08:30:32 -05:00 committed by GitHub
commit a7e45ef64a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
vendor/init.bat vendored

@ -251,10 +251,10 @@ if %nix_tools% geq 1 (
%lib_path% enhance_path "%GIT_INSTALL_ROOT%\mingw32\bin" %path_position%
) else if exist "%GIT_INSTALL_ROOT%\mingw64" (
%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%
)
)
:: 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"