projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bb454d
)
dohtml: support FEATURES=force-prefix
author
Zac Medico
<zmedico@gentoo.org>
Sat, 14 Apr 2012 00:37:34 +0000
(17:37 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 14 Apr 2012 00:37:34 +0000
(17:37 -0700)
bin/dohtml.py
patch
|
blob
|
history
diff --git
a/bin/dohtml.py
b/bin/dohtml.py
index 122daf3f5ce7f9ff55e0a99f70dab0ec033baf36..f0a7f2cf63e6730cd02e6a2faa09d37251b9488f 100755
(executable)
--- 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", "")