diff --git a/Windows/git-version-gen.cmd b/Windows/git-version-gen.cmd index d62f4c606f..c640b56016 100644 --- a/Windows/git-version-gen.cmd +++ b/Windows/git-version-gen.cmd @@ -41,7 +41,7 @@ if errorlevel 1 ( set GIT="%ProgramFiles%\Git\bin\git.exe" call !GIT! describe > NUL 2> NUL if errorlevel 1 ( - set GIT="C:\Program Files\Git\bin\git.exe" + set GIT="%ProgramW6432%\Git\bin\git.exe" ) ) )