diff --git a/compile.bat b/compile.bat index b92a3b4563ae0dabc5417d0fc6b581d5e3fce300..b9ab588997bb8f14bcbd0d2cae7791880a26be1a 100644 --- a/compile.bat +++ b/compile.bat @@ -7,6 +7,7 @@ pushd %~dp0 :: See if we can find a git installation setlocal enabledelayedexpansion +set GITFOUND=no for %%k in (HKCU HKLM) do ( for %%w in (\ \Wow6432Node\) do ( for /f "skip=2 delims=: tokens=1*" %%a in ('reg query "%%k\SOFTWARE%%wMicrosoft\Windows\CurrentVersion\Uninstall\Git_is1" /v InstallLocation 2^> nul') do ( diff --git a/compile_debug+sanityCheck.bat b/compile_debug+sanityCheck.bat index 020e5c1e255be5f8152a0c3571f8c29622a717db..0eb2efb2b96238402e7b1cbc25e8ed66ec66ccd0 100644 --- a/compile_debug+sanityCheck.bat +++ b/compile_debug+sanityCheck.bat @@ -7,6 +7,7 @@ pushd %~dp0 :: See if we can find a git installation setlocal enabledelayedexpansion +set GITFOUND=no for %%k in (HKCU HKLM) do ( for %%w in (\ \Wow6432Node\) do ( for /f "skip=2 delims=: tokens=1*" %%a in ('reg query "%%k\SOFTWARE%%wMicrosoft\Windows\CurrentVersion\Uninstall\Git_is1" /v InstallLocation 2^> nul') do (