Fix some commands like ls' are not available

This commit is contained in:
兮陌 2021-02-08 23:23:30 +08:00 committed by GitHub
parent a7e45ef64a
commit cc1d459ea9
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%
) 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" (
)
if exist "%GIT_INSTALL_ROOT%\usr\bin" (
%lib_path% enhance_path "%GIT_INSTALL_ROOT%\usr\bin" %path_position%
)
)