Make build.bat return a proper errorcode if the build fails.

This commit is contained in:
Magnus Hagander 2007-02-27 15:21:48 +00:00
parent c7ff7663e4
commit ba339f79ec
1 changed files with 3 additions and 0 deletions

View File

@ -17,5 +17,8 @@ if "%CONFIG%" == "" set CONFIG=Debug
if "%1" == "" msbuild pgsql.sln /verbosity:detailed /p:Configuration=%CONFIG%
if not "%1" == "" vcbuild %1.vcproj %CONFIG%
SET E=%ERRORLEVEL%
cd %STARTDIR%
exit /b %E%