Mercurial > fife-parpg
comparison SConstruct @ 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 | 41e3d1c92753 |
children | 64738befdf3b |
comparison
equal
deleted
inserted
replaced
301:a0856bef4786 | 302:94470d79576f |
---|---|
21 | 21 |
22 # Platform-specific prefix directories | 22 # Platform-specific prefix directories |
23 if sys.platform == 'linux2': | 23 if sys.platform == 'linux2': |
24 opts.Add(PathOption('PREFIX', 'Directory to install under', '/usr')) | 24 opts.Add(PathOption('PREFIX', 'Directory to install under', '/usr')) |
25 | 25 |
26 env = Environment(options = opts, ENV = {'PATH' : os.environ['PATH']}) | 26 #env = Environment(options = opts, ENV = {'PATH' : os.environ['PATH']}) |
27 env = Environment(options = opts, ENV = os.environ) | |
27 env.Replace(SCONS_ROOT_PATH=str(upath('.').abspath())) | 28 env.Replace(SCONS_ROOT_PATH=str(upath('.').abspath())) |
28 rootp = env['SCONS_ROOT_PATH'] | 29 rootp = env['SCONS_ROOT_PATH'] |
29 | 30 |
30 Help(opts.GenerateHelpText(env)) | 31 Help(opts.GenerateHelpText(env)) |
31 | 32 |