summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 4bf3a9353..0952bd5f8 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2976,8 +2976,10 @@ def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, m
mysettings["KVERS"]=myso[1]
# Allow color.map to control colors associated with einfo, ewarn, etc...
+ mycolors = []
for c in ("GOOD", "WARN", "BAD", "HILITE", "BRACKET"):
- mysettings[c] = output.codes[c]
+ mycolors.append("%s=$'%s'" % (c, output.codes[c]))
+ mysettings["PORTAGE_COLORMAP"] = "\n".join(mycolors)
def prepare_build_dirs(myroot, mysettings, cleanup):