diff options
author | grbd <garlicbready@googlemail.com> | 2017-08-02 19:15:03 (GMT) |
---|---|---|
committer | grbd <garlicbready@googlemail.com> | 2017-08-02 19:15:03 (GMT) |
commit | e2f981db1c087c2d684cfd4ace988a4e173d975d (patch) | |
tree | 910b751642f010b94666d5899b9a7545250ca459 /doc | |
parent | 3f97b5364380d51a446786fc6514f9e29e26ea4a (diff) | |
download | SCons-e2f981db1c087c2d684cfd4ace988a4e173d975d.zip SCons-e2f981db1c087c2d684cfd4ace988a4e173d975d.tar.gz SCons-e2f981db1c087c2d684cfd4ace988a4e173d975d.tar.bz2 |
removed ENV = os.environ from the examples
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/environments.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/user/environments.xml b/doc/user/environments.xml index c99a71f..d591dff 100644 --- a/doc/user/environments.xml +++ b/doc/user/environments.xml @@ -1782,7 +1782,7 @@ env.AppendENVPath('LIB', '/usr/local/lib') <sconstruct> # Inbuilt tool or tool located within site_tools -env = Environment(ENV = os.environ, tools = ['SomeTool']) +env = Environment(tools = ['SomeTool']) env.SomeTool(targets, sources) # The search locations would include by default @@ -1805,7 +1805,7 @@ SCons/Tool/SomeTool/__init__.py <sconstruct> # Tool located within the toolpath directory option -env = Environment(ENV = os.environ, tools = ['SomeTool'], toolpath = ['/opt/SomeToolPath', '/opt/SomeToolPath2']) +env = Environment(tools = ['SomeTool'], toolpath = ['/opt/SomeToolPath', '/opt/SomeToolPath2']) env.SomeTool(targets, sources) # The search locations in this example would include: @@ -1834,7 +1834,7 @@ SCons/Tool/SomeTool/__init__.py <sconstruct> # namespaced target -env = Environment(ENV = os.environ, tools = ['SubDir1.SubDir2.SomeTool'], toolpath = ['/opt/SomeToolPath']) +env = Environment(tools = ['SubDir1.SubDir2.SomeTool'], toolpath = ['/opt/SomeToolPath']) env.SomeTool(targets, sources) # With this example the search locations would include @@ -1865,7 +1865,7 @@ SCons/Tool/SubDir1/SubDir2/SomeTool/__init__.py <sconstruct> # namespaced target using sys.path within toolpath -env = Environment(ENV = os.environ, tools = ['someinstalledpackage.SomeTool'], toolpath = sys.path) +env = Environment(tools = ['someinstalledpackage.SomeTool'], toolpath = sys.path) env.SomeTool(targets, sources) </sconstruct> |