aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-06-01 23:45:18 -0700
committerZac Medico <zmedico@gentoo.org>2012-06-01 23:45:18 -0700
commit74dbce53d3f44fc0065ddac6a640f15ff369a89f (patch)
tree47fffed309bcb81ab6107bb80064596f31e146bd /bin
parentInheritEclass: remove unused inherited_api code (diff)
downloadportage-74dbce53d3f44fc0065ddac6a640f15ff369a89f.tar.gz
portage-74dbce53d3f44fc0065ddac6a640f15ff369a89f.tar.bz2
portage-74dbce53d3f44fc0065ddac6a640f15ff369a89f.zip
ebuild.sh: export EAPI for helpersv2.2.0_alpha109
This fixes some cases where it wouldn't be exported since commit 20817801dd4ef0117bcc7b33c90650da1e920385.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 25891137c..9829f68b3 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -553,6 +553,9 @@ if ! has "$EBUILD_PHASE" clean cleanrm ; then
[ "${EAPI+set}" = set ] || EAPI=0
+ # export EAPI for helpers (especially since we unset it above)
+ export EAPI
+
if has "$EAPI" 0 1 2 3 3_pre2 ; then
export RDEPEND=${RDEPEND-${DEPEND}}
debug-print "RDEPEND: not set... Setting to: ${DEPEND}"