Skip to content

Commit ed60c14

Browse files
authored
Merge pull request #2475 from simaek/patch-1
Fix some commands like 'ls' are not available
2 parents a7e45ef + cc1d459 commit ed60c14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vendor/init.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@ 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" (
254+
)
255+
if exist "%GIT_INSTALL_ROOT%\usr\bin" (
255256
%lib_path% enhance_path "%GIT_INSTALL_ROOT%\usr\bin" %path_position%
256257
)
257258
)

0 commit comments

Comments
 (0)