projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24ba282
)
Don't cache REQUIRED_USE for EAPIs 1-3 which don't support it.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Aug 2010 02:25:15 +0000
(19:25 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Aug 2010 02:25:15 +0000
(19:25 -0700)
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index 4d117f65ed4caf954b10902ff952d61040b5efce..014229446f8523aac4cba43fa70b9a24f1242bf7 100755
(executable)
--- a/
bin/ebuild.sh
+++ b/
bin/ebuild.sh
@@
-2164,7
+2164,11
@@
ebuild_main() {
#the extra $(echo) commands remove newlines
[ -n "${EAPI}" ] || EAPI=0
- local eapi=$EAPI
+ case "$EAPI" in
+ 0|1|2|3)
+ unset REQUIRED_USE
+ ;;
+ esac
if [ -n "${dbkey}" ] ; then
> "${dbkey}"