mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 03:23:04 +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
|
@cd %FB_GEN_DIR%\examples
|
||||||
@del %FB_GEN_DIR%\examples\employee.fdb 2>nul
|
@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
|
@%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 (
|
@if defined FB2_INTLEMP (
|
||||||
@echo Building intlemp.fdb
|
@echo Building intlemp.fdb
|
||||||
@ -176,6 +177,7 @@ if defined FB2_INTLEMP (
|
|||||||
@echo.
|
@echo.
|
||||||
@echo Error - %*
|
@echo Error - %*
|
||||||
@echo.
|
@echo.
|
||||||
|
set ERRLEV=1
|
||||||
cancel_script > nul 2>&1
|
cancel_script > nul 2>&1
|
||||||
::End of ERROR
|
::End of ERROR
|
||||||
::------------
|
::------------
|
||||||
|
Loading…
Reference in New Issue
Block a user