summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2016-03-04 13:53:33 +0100
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2016-03-07 09:29:02 +0000
commitb0fbd0d68d4bc1d600717052c1c3dbb39971c2d3 (patch)
treeaed4c3a7c4353812df1fe36023c918c6df0fe418
parent443bb0aec61ca15d566f09ce2d20376f6633ebe3 (diff)
Do not let ibjom pollute the environment
Keep environment variable modifications local. Change-Id: I593249f14e0800b06abc712513e8a00c8fcb40c8 Reviewed-by: Alexandru Croitor <alexandru.croitor@theqtcompany.com> Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
-rw-r--r--bin/ibjom.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ibjom.bat b/bin/ibjom.bat
index d5e4448..297f6f7 100644
--- a/bin/ibjom.bat
+++ b/bin/ibjom.bat
@@ -1,3 +1,5 @@
@echo off
+setlocal
if "%IBJOM_NUMBEROFJOBS%" == "" set IBJOM_NUMBEROFJOBS=20
BuildConsole /command="jom -j%IBJOM_NUMBEROFJOBS% %*"
+endlocal