From 74dbce53d3f44fc0065ddac6a640f15ff369a89f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 1 Jun 2012 23:45:18 -0700 Subject: ebuild.sh: export EAPI for helpers This fixes some cases where it wouldn't be exported since commit 20817801dd4ef0117bcc7b33c90650da1e920385. --- bin/ebuild.sh | 3 +++ 1 file changed, 3 insertions(+) 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}" -- cgit v1.2.3-1-g7c22