summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/ibjom.bat4
-rw-r--r--bin/xgejom.bat4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/ibjom.bat b/bin/ibjom.bat
index 297f6f7..cc8843d 100644
--- a/bin/ibjom.bat
+++ b/bin/ibjom.bat
@@ -1,5 +1,5 @@
@echo off
-setlocal
+setlocal enabledelayedexpansion
if "%IBJOM_NUMBEROFJOBS%" == "" set IBJOM_NUMBEROFJOBS=20
-BuildConsole /command="jom -j%IBJOM_NUMBEROFJOBS% %*"
+BuildConsole /command="jom -j%IBJOM_NUMBEROFJOBS% %*" || exit /b !ERRORLEVEL!
endlocal
diff --git a/bin/xgejom.bat b/bin/xgejom.bat
index 4a8f625..80a9054 100644
--- a/bin/xgejom.bat
+++ b/bin/xgejom.bat
@@ -1,6 +1,6 @@
@echo off
-setlocal
+setlocal enabledelayedexpansion
if "%IBJOM_NUMBEROFJOBS%" == "" set IBJOM_NUMBEROFJOBS=60
set NINJAFLAGS=-j60
-xgConsole /profile="%~dp0\xgejom.xml" /command="jom -j%IBJOM_NUMBEROFJOBS% %*"
+xgConsole /profile="%~dp0\xgejom.xml" /command="jom -j%IBJOM_NUMBEROFJOBS% %*" || exit /b !ERRORLEVEL!
endlocal