Skip to content

Commit cc1d459

Browse files
authored
Fix some commands like ls' are not available
1 parent a7e45ef commit cc1d459

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)