From cc1d459ea95816891ceb0dd3aba897e29cdaa7db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AE=E9=99=8C?= Date: Mon, 8 Feb 2021 23:23:30 +0800 Subject: [PATCH] Fix some commands like ls' are not available --- vendor/init.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vendor/init.bat b/vendor/init.bat index f5fdd77..8c10a0c 100644 --- a/vendor/init.bat +++ b/vendor/init.bat @@ -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% ) )