diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-12-09 10:29:39 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-12-22 14:25:10 (GMT) |
commit | 1e9c6a067865b73378af0dd252353efc84efb9b9 (patch) | |
tree | 8e942a0290c275ff672cf2e2723caacb709d9a7b /BuildTools/SCons | |
parent | f572ff58428c8ce6b5babb60f0ea6999d0be29d7 (diff) | |
download | swift-contrib-1e9c6a067865b73378af0dd252353efc84efb9b9.zip swift-contrib-1e9c6a067865b73378af0dd252353efc84efb9b9.tar.bz2 |
Pass TERM variable through environment.swift-3.0alpha
This enables colored output for some tools (e.g. CLang)
Change-Id: If12b4f9a1b38b7d00e8e08a80592f9353aaa023b
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r-- | BuildTools/SCons/SConscript.boot | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConscript.boot b/BuildTools/SCons/SConscript.boot index 361004f..56a3dd1 100644 --- a/BuildTools/SCons/SConscript.boot +++ b/BuildTools/SCons/SConscript.boot @@ -68,6 +68,7 @@ vars.Add(BoolVariable("set_iterator_debug_level", "Set _ITERATOR_DEBUG_LEVEL=0", env_ENV = { 'PATH' : os.environ['PATH'], 'LD_LIBRARY_PATH' : os.environ.get("LD_LIBRARY_PATH", ""), + 'TERM' : os.environ.get("TERM", ""), } if "MSVC_VERSION" in ARGUMENTS : env = Environment(ENV = env_ENV, variables = vars, MSVC_VERSION = ARGUMENTS["MSVC_VERSION"]) |