aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Barbour <tony@LunarG.com>2017-06-21 10:22:05 -0600
committerTony-LunarG <tony@lunarg.com>2017-06-22 14:49:18 -0600
commitd1aae7bee69df07cb1d22e425e40c8171cfe0285 (patch)
tree6fe4cdba051231eab0ba1b176bd0e00886f00a61
parent768691e7e7f74b90bb1aaa39b4d002512734c097 (diff)
downloadusermoji-d1aae7bee69df07cb1d22e425e40c8171cfe0285.tar.xz
build: Exit with return code in update_external bat
Change-Id: Idf9d85d36c66a63de0c07322a367b45cfe84e3de
-rw-r--r--update_external_sources.bat5
1 files 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 ======== //