changeset 302:94470d79576f

* Small fix to make scons work in a fakeroot environment on ArchLinux. If this causes breakage please contact me.
author nihathrael@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 10 Jul 2009 11:08:32 +0000
parents a0856bef4786
children a33576d94f32
files SConstruct
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/SConstruct	Thu Jul 09 13:34:15 2009 +0000
+++ b/SConstruct	Fri Jul 10 11:08:32 2009 +0000
@@ -23,7 +23,8 @@
 if sys.platform == 'linux2':
 	opts.Add(PathOption('PREFIX', 'Directory to install under', '/usr'))
 
-env = Environment(options = opts, ENV = {'PATH' : os.environ['PATH']})
+#env = Environment(options = opts, ENV = {'PATH' : os.environ['PATH']})
+env = Environment(options = opts, ENV = os.environ)
 env.Replace(SCONS_ROOT_PATH=str(upath('.').abspath()))
 rootp = env['SCONS_ROOT_PATH']