# HG changeset patch # User nihathrael@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1247224112 0 # Node ID 94470d79576f2a428a1e52fdbaeb2cfb1c0a308a # Parent a0856bef4786cbcfc40726d1e1255c0efeaeef63 * Small fix to make scons work in a fakeroot environment on ArchLinux. If this causes breakage please contact me. diff -r a0856bef4786 -r 94470d79576f SConstruct --- 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']