summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index a6760b245..a6534b12d 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -520,7 +520,7 @@ def create_trees(config_root=None, target_root=None, trees=None):
# environment to apply to the config that's associated
# with ROOT != "/", so pass a nearly empty dict for the env parameter.
clean_env = {}
- for k in ('PATH', 'TERM'):
+ for k in ('PATH', 'PORTAGE_GRPNAME', 'PORTAGE_USERNAME', 'TERM'):
v = settings.get(k)
if v is not None:
clean_env[k] = v