projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f0ce00
)
Make create_trees() pass along PORTAGE_GRPNAME and PORTAGE_USERNAME
author
Zac Medico
<zmedico@gentoo.org>
Sun, 15 Aug 2010 08:12:11 +0000
(
01:12
-0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 15 Aug 2010 08:12:11 +0000
(
01:12
-0700)
to all config instances.
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index a6760b2450c2ed1ba8a876f3322f917168609dbd..a6534b12df6c9d0dec4eb05c0d57080521847783 100644
(file)
--- 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