From 8a7357d20f09e15e2d937b9576953e0cf70ef480 Mon Sep 17 00:00:00 2001 From: Paul Reeves Date: Wed, 21 Oct 2020 10:36:45 +0200 Subject: [PATCH] CORE-6424 - Be sure to fail the build process if the employee database cannot be copied to the output directory for packaging. --- builds/win32/make_examples.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/builds/win32/make_examples.bat b/builds/win32/make_examples.bat index e8558b045d..0764b03385 100644 --- a/builds/win32/make_examples.bat +++ b/builds/win32/make_examples.bat @@ -193,6 +193,10 @@ endlocal ::============== :MOVE2 @copy %FB_GEN_DIR%\examples\employee.fdb %FB_OUTPUT_DIR%\examples\empbuild\ > nul +if errorlevel 1 ( + @call :ERROR copying employee database to %FB_OUTPUT_DIR%\examples\empbuild failed - see make_examples_%FB_TARGET_PLATFORM%.log for details + @goto :EOF +) if defined FB2_INTLEMP ( if exist %FB_GEN_DIR%\examples\intlemp.fdb (