summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-01-29 16:40:08 +0000
committerZac Medico <zmedico@gentoo.org>2010-01-29 16:40:08 +0000
commit297d7590ddea0f71cbe2e94ac95a56ead4df478e (patch)
treeac71b7ebdb2334fb43a2d0a87be97db0eddb9dbc
parentb4feaa3416e58ffccc4b79d26e6df5256154d117 (diff)
downloadportage-297d7590ddea0f71cbe2e94ac95a56ead4df478e.tar.gz
portage-297d7590ddea0f71cbe2e94ac95a56ead4df478e.tar.bz2
portage-297d7590ddea0f71cbe2e94ac95a56ead4df478e.zip
Bug #300378 - Don't export FILESDIR to the 'depend' phase.
svn path=/main/trunk/; revision=15217
-rw-r--r--pym/portage/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 5f62fd7ae..233bf7ed1 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -3781,6 +3781,9 @@ class config(object):
mydict.pop("EPREFIX", None)
mydict.pop("EROOT", None)
+ if phase == 'depend':
+ mydict.pop('FILESDIR', None)
+
return mydict
def thirdpartymirrors(self):