From 1c187749ec460ae196bfc7d56c1ec83566dbc7e2 Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Sun, 4 Apr 2010 21:34:57 +0100
Subject: Don't require UAC escalation with Windows


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
-- 
cgit v0.10.2-6-g49f6