summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Script/__init__.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-07-22 11:38:20 (GMT)
committerSteven Knight <knight@baldmt.com>2003-07-22 11:38:20 (GMT)
commit17f8210401fbaf283fba34e5d87700e4e7431470 (patch)
tree85869e6a0a2ff03ee52b9d34052225d9cc580106 /src/engine/SCons/Script/__init__.py
parent1737bf0b826d00d06a62f623e61404795cc65b49 (diff)
downloadSCons-17f8210401fbaf283fba34e5d87700e4e7431470.zip
SCons-17f8210401fbaf283fba34e5d87700e4e7431470.tar.gz
SCons-17f8210401fbaf283fba34e5d87700e4e7431470.tar.bz2
Only create a default Environment when asked to. (Chad Austin)
Diffstat (limited to 'src/engine/SCons/Script/__init__.py')
-rw-r--r--src/engine/SCons/Script/__init__.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/engine/SCons/Script/__init__.py b/src/engine/SCons/Script/__init__.py
index fe56568..c171a91 100644
--- a/src/engine/SCons/Script/__init__.py
+++ b/src/engine/SCons/Script/__init__.py
@@ -750,10 +750,6 @@ def _main(args, parser):
SCons.Node.FS.default_fs.set_toplevel_dir(os.getcwd())
- # Now that the top-level directory has been set,
- # we can initialize the default Environment.
- SCons.Defaults._default_env = SCons.Environment.Environment()
-
scripts = []
if options.file:
scripts.extend(options.file)