From: Zac Medico Date: Sat, 2 Jun 2012 06:45:18 +0000 (-0700) Subject: ebuild.sh: export EAPI for helpers X-Git-Tag: v2.2.0_alpha109 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=74dbce53d3f44fc0065ddac6a640f15ff369a89f;p=portage.git ebuild.sh: export EAPI for helpers This fixes some cases where it wouldn't be exported since commit 20817801dd4ef0117bcc7b33c90650da1e920385. --- 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}"