1 |
commit: 74dbce53d3f44fc0065ddac6a640f15ff369a89f |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 2 06:45:18 2012 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 2 06:45:18 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=74dbce53 |
7 |
|
8 |
ebuild.sh: export EAPI for helpers |
9 |
|
10 |
This fixes some cases where it wouldn't be exported since commit |
11 |
20817801dd4ef0117bcc7b33c90650da1e920385. |
12 |
|
13 |
--- |
14 |
bin/ebuild.sh | 3 +++ |
15 |
1 files changed, 3 insertions(+), 0 deletions(-) |
16 |
|
17 |
diff --git a/bin/ebuild.sh b/bin/ebuild.sh |
18 |
index 2589113..9829f68 100755 |
19 |
--- a/bin/ebuild.sh |
20 |
+++ b/bin/ebuild.sh |
21 |
@@ -553,6 +553,9 @@ if ! has "$EBUILD_PHASE" clean cleanrm ; then |
22 |
|
23 |
[ "${EAPI+set}" = set ] || EAPI=0 |
24 |
|
25 |
+ # export EAPI for helpers (especially since we unset it above) |
26 |
+ export EAPI |
27 |
+ |
28 |
if has "$EAPI" 0 1 2 3 3_pre2 ; then |
29 |
export RDEPEND=${RDEPEND-${DEPEND}} |
30 |
debug-print "RDEPEND: not set... Setting to: ${DEPEND}" |