Make git-version-gen work with a freshly installed 64-bit git msys.

For some reason %ProgramFiles% returns the (x86) one anyway...
This commit is contained in:
Henrik Rydgard 2016-02-28 11:03:12 +01:00
parent 87f922c678
commit de932b5efc

View file

@ -37,7 +37,12 @@ if errorlevel 1 (
set GIT="%ProgramFiles(x86)%\Git\bin\git.exe"
call !GIT! describe > NUL 2> NUL
if errorlevel 1 (
echo !GIT!
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"
)
)
)