Merge pull request #2475 from simaek/patch-1

Fix some commands like 'ls' are not available
This commit is contained in:
Dax T Games 2021-02-09 09:04:45 -05:00 committed by GitHub
commit ed60c14a44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
vendor/init.bat vendored
View File

@ -251,7 +251,8 @@ 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" ( )
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%
) )
) )