From de7237f75c498785dfa9c669ea39868edcdf389b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 10 Aug 2010 19:25:15 -0700 Subject: [PATCH] Don't cache REQUIRED_USE for EAPIs 1-3 which don't support it. --- bin/ebuild.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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}" -- 2.26.2