From 9792aebf00d2fc61e09044638c4dfbbd54c59154 Mon Sep 17 00:00:00 2001 From: Stephan Date: Fri, 8 Jul 2016 14:16:36 +0200 Subject: [PATCH] Build - fix InstallGit.cmd --- build/InstallGit.cmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/InstallGit.cmd b/build/InstallGit.cmd index 8570817bda..26f8088f35 100644 --- a/build/InstallGit.cmd +++ b/build/InstallGit.cmd @@ -2,13 +2,13 @@ SETLOCAL REM SETLOCAL is on, so changes to the path not persist to the actual user's path -git.exe --version 2> NUL +git.exe --version if %ERRORLEVEL%==9009 GOTO :trydefaultpath GOTO :EOF :trydefaultpath path=C:\Program Files (x86)\Git\cmd;C:\Program Files\Git\cmd;%PATH% -git.exe --version 2> NUL +git.exe --version if %ERRORLEVEL%==9009 GOTO :showerror GOTO :EOF