projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f160c63
)
ebuild.sh: export EAPI for helpers
v2.2.0_alpha109
author
Zac Medico
<zmedico@gentoo.org>
Sat, 2 Jun 2012 06:45:18 +0000
(23:45 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 2 Jun 2012 06:45:18 +0000
(23:45 -0700)
This fixes some cases where it wouldn't be exported since commit
20817801dd4ef0117bcc7b33c90650da1e920385
.
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index 25891137c3e00b34f784324365f6d9e618e85795..9829f68b3bb24a43314d33d3b2542f7ffbb5e27e 100755
(executable)
--- 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}"