summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-04-04 20:34:57 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-04-04 20:34:57 (GMT)
commit1c187749ec460ae196bfc7d56c1ec83566dbc7e2 (patch)
treed204a2283b96744bdaadc4d298702f93ea600846 /BuildTools
parentddb36a57c5d641a36c5b11f4496aecf90c2ff2c0 (diff)
downloadswift-1c187749ec460ae196bfc7d56c1ec83566dbc7e2.zip
swift-1c187749ec460ae196bfc7d56c1ec83566dbc7e2.tar.bz2
Don't require UAC escalation with Windows
Diffstat (limited to 'BuildTools')
-rw-r--r--BuildTools/SCons/SConstruct2
1 files changed, 2 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 494ee1e..8cb21c2 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -46,6 +46,8 @@ if env["PLATFORM"] == "darwin" :
env.Tool("AppBundle", toolpath = ["#/BuildTools/SCons/Tools"])
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']
# Override SConscript to handle tests
oldSConscript = SConscript