mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 00:03:02 +01:00
Set ERRLEV on error so as to break the build process correctly.
This commit is contained in:
parent
1eda2271ac
commit
082dcd7b63
@ -138,6 +138,7 @@ if defined FB2_INTLEMP (
|
||||
@cd %FB_GEN_DIR%\examples
|
||||
@del %FB_GEN_DIR%\examples\employee.fdb 2>nul
|
||||
@%FB_ROOT_PATH%\temp\%FB_OBJ_DIR%\empbuild\empbuild.exe %FB_GEN_DB_DIR%/examples/employee.fdb
|
||||
if errorlevel 44 (call :ERROR empbuild.exe failed - see %~n0.log for details & goto :EOF)
|
||||
|
||||
@if defined FB2_INTLEMP (
|
||||
@echo Building intlemp.fdb
|
||||
@ -176,6 +177,7 @@ if defined FB2_INTLEMP (
|
||||
@echo.
|
||||
@echo Error - %*
|
||||
@echo.
|
||||
set ERRLEV=1
|
||||
cancel_script > nul 2>&1
|
||||
::End of ERROR
|
||||
::------------
|
||||
|
Loading…
Reference in New Issue
Block a user