Skip to content
Snippets Groups Projects
Commit 3bdaac29 authored by svornost's avatar svornost
Browse files

Initialize %GITFOUND%

parent 8c37fa6c
No related branches found
No related tags found
No related merge requests found
......@@ -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 (
......
......@@ -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 (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment