From 30ea03eb33cb6e33036c7a7011c2df78cff31025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Wed, 7 Apr 2010 22:16:07 +0200 Subject: Avoid build failing when TMP environment variable is not set. 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 -- cgit v0.10.2-6-g49f6