From d1aae7bee69df07cb1d22e425e40c8171cfe0285 Mon Sep 17 00:00:00 2001 From: Tony Barbour Date: Wed, 21 Jun 2017 10:22:05 -0600 Subject: build: Exit with return code in update_external bat Change-Id: Idf9d85d36c66a63de0c07322a367b45cfe84e3de --- update_external_sources.bat | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/update_external_sources.bat b/update_external_sources.bat index 237f7757..b6a99113 100644 --- a/update_external_sources.bat +++ b/update_external_sources.bat @@ -217,13 +217,12 @@ goto:finish :error echo. echo Halting due to error +set errorCode=1 goto:finish :finish if not "%cd%\" == "%BUILD_DIR%" ( cd %BUILD_DIR% ) -endlocal -goto:eof - +exit /b %errorCode% REM // ======== Functions ======== // -- cgit v1.2.3