From: Zac Medico Date: Sat, 14 Apr 2012 00:37:34 +0000 (-0700) Subject: dohtml: support FEATURES=force-prefix X-Git-Tag: v2.2.0_alpha101~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=361ea15f5da672bc0aec9d0b7bd7244591a286e2;p=portage.git dohtml: support FEATURES=force-prefix --- diff --git a/bin/dohtml.py b/bin/dohtml.py index 122daf3f5..f0a7f2cf6 100755 --- a/bin/dohtml.py +++ b/bin/dohtml.py @@ -91,7 +91,8 @@ class OptionsClass: if "PF" in os.environ: self.PF = os.environ["PF"] - if os.environ.get("EAPI", "0") in ("0", "1", "2"): + if "force-prefix" not in os.environ.get("FEATURES", "").split() and \ + os.environ.get("EAPI", "0") in ("0", "1", "2"): self.ED = os.environ.get("D", "") else: self.ED = os.environ.get("ED", "")