summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTools/SCons/SConstruct')
-rw-r--r--BuildTools/SCons/SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 8cb21c2..3f441cb 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -47,7 +47,8 @@ if env["PLATFORM"] == "darwin" :
if env["PLATFORM"] == "win32" :
env.Tool("WindowsBundle", toolpath = ["#/BuildTools/SCons/Tools"])
#So we don't need to escalate with UAC
- env['ENV']['TMP'] = os.environ['TMP']
+ if "TMP" is os.environ.keys() :
+ env['ENV']['TMP'] = os.environ['TMP']
# Override SConscript to handle tests
oldSConscript = SConscript