Fixed BuildAll.cmd to work when invoked from a git bash shell

This commit is contained in:
Mark Pizzolato 2013-01-05 16:16:48 -08:00
parent 6a5278ec3c
commit 722524c20e

View file

@ -37,6 +37,7 @@ set _ZipPath=..\..\%BIN_REPO%\
vcbuild Simh.sln "Release|Win32"
if exist "%ProgramFiles%\7-Zip\7z.exe" "%ProgramFiles%\7-Zip\7z.exe" a -tzip "%_ZipPath%%_ZipName%" "..\BIN\NT\Win32-Release\*.exe"
if exist "%ProgramFiles(x86)%\7-Zip\7z.exe" "%ProgramFiles(x86)%\7-Zip\7z.exe" a -tzip "%_ZipPath%%_ZipName%" "..\BIN\NT\Win32-Release\*.exe"
if exist "%PROGRAMW6432%\7-Zip\7z.exe" "%PROGRAMW6432%\7-Zip\7z.exe" a -tzip "%_ZipPath%%_ZipName%" "..\BIN\NT\Win32-Release\*.exe"
pushd %_ZipPath%
where git.exe >NUL