summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-12 18:42:08 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-12 18:42:08 -0700
commitffe0e3fb6998c776b08f725c53dfe6c632ce7d02 (patch)
tree01ff6d45a0b266e005972e3fb69f982aced35905 /pym
parentb39ea65b4b40b73a79893f0c8b0c218b3f5ecc42 (diff)
downloadportage-ffe0e3fb6998c776b08f725c53dfe6c632ce7d02.tar.gz
portage-ffe0e3fb6998c776b08f725c53dfe6c632ce7d02.tar.bz2
portage-ffe0e3fb6998c776b08f725c53dfe6c632ce7d02.zip
Fix inverted logic in eapi_supports_prefix() call, which causes a
regression such that ED, EPREFIX, and EROOT where not set in EAPI 3 ebuild environments (just for portage-9999 users).
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/package/ebuild/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py
index 2f2850ff2..a97dd33ac 100644
--- a/pym/portage/package/ebuild/config.py
+++ b/pym/portage/package/ebuild/config.py
@@ -2644,7 +2644,7 @@ class config(object):
mydict.pop("AA", None)
# Prefix variables are supported starting with EAPI 3.
- if phase == 'depend' or eapi is None or eapi_supports_prefix(eapi):
+ if phase == 'depend' or eapi is None or not eapi_supports_prefix(eapi):
mydict.pop("ED", None)
mydict.pop("EPREFIX", None)
mydict.pop("EROOT", None)