From: Zac Medico Date: Wed, 11 Aug 2010 02:25:15 +0000 (-0700) Subject: Don't cache REQUIRED_USE for EAPIs 1-3 which don't support it. X-Git-Tag: v2.2_rc68~334 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=de7237f75c498785dfa9c669ea39868edcdf389b;p=portage.git Don't cache REQUIRED_USE for EAPIs 1-3 which don't support it. --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 4d117f65e..014229446 100755 --- 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}"