diff --git a/build/InstallGit.cmd b/build/InstallGit.cmd index f10fe6c100..2bd6d7cc35 100644 --- a/build/InstallGit.cmd +++ b/build/InstallGit.cmd @@ -6,14 +6,14 @@ if %ERRORLEVEL%==9009 GOTO :trydefaultpath GOTO :EOF :trydefaultpath -path=C:\Program Files (x86)\Git\cmd;%PATH% +path=C:\Program Files (x86)\Git\cmd;C:\Program Files\Git\cmd;%PATH% git.exe 2> NUL if %ERRORLEVEL%==9009 GOTO :showerror GOTO :EOF :showerror path=%oldPath% -ECHO Git is not in your path and could not be found in C:\Program Files (x86)\Git\bin +ECHO Git is not in your path and could not be found in C:\Program Files (x86)\Git\cmd set /p install=" Do you want to install Git through Chocolatey [y/n]? " %=% if %install%==y ( GOTO :installgit