revert 2008-09-04T08:05:33Z!loonycyborg@gmail.com...
...and use different way of ensuring that gettext tool is affected by PATH.
This commit is contained in:
parent
b7d1531b89
commit
976f4a9fe0
2 changed files with 4 additions and 2 deletions
|
@ -92,10 +92,12 @@ opts.AddOptions(
|
|||
#
|
||||
|
||||
sys.path.insert(0, "./scons")
|
||||
env = Environment(tools=["tar", "gettext", "install", "python_devel", "scanreplace"], options = opts, toolpath = ["scons"], ENV = { 'PATH' : os.environ["PATH"] })
|
||||
env = Environment(tools=["tar", "gettext", "install", "python_devel", "scanreplace"], options = opts, toolpath = ["scons"])
|
||||
|
||||
opts.Save('.scons-option-cache', env)
|
||||
|
||||
# Make sure the user's environment is always available
|
||||
env['ENV']['PATH'] = os.environ["PATH"]
|
||||
if env["PLATFORM"] == "win32":
|
||||
env.Tool("mingw")
|
||||
else:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
from os.path import join
|
||||
import os
|
||||
from SCons.Builder import Builder
|
||||
from SCons.Script import *
|
||||
from SCons.Util import WhereIs
|
||||
|
||||
def exists():
|
||||
return True
|
||||
|
|
Loading…
Add table
Reference in a new issue