1 |
Author: zmedico |
2 |
Date: 2009-04-30 07:22:35 +0000 (Thu, 30 Apr 2009) |
3 |
New Revision: 13532 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.6/bin/ebuild.sh |
7 |
Log: |
8 |
Add ${PORTAGE_BIN_PATH}/ebuild-helpers/3 directory to PATH for EAPI 3. Thanks |
9 |
to Tiziano M?\195?\188ller <dev-zero@g.o> for this patch. (trunk r13380) |
10 |
|
11 |
Modified: main/branches/2.1.6/bin/ebuild.sh |
12 |
=================================================================== |
13 |
--- main/branches/2.1.6/bin/ebuild.sh 2009-04-30 07:22:19 UTC (rev 13531) |
14 |
+++ main/branches/2.1.6/bin/ebuild.sh 2009-04-30 07:22:35 UTC (rev 13532) |
15 |
@@ -1902,6 +1902,19 @@ |
16 |
ebuild_main() { |
17 |
local f x |
18 |
|
19 |
+ # we may want to make this configurable somewhere else |
20 |
+ local ebuild_helpers_path |
21 |
+ case ${EAPI} in |
22 |
+ 3|3_pre1) |
23 |
+ ebuild_helpers_path="${PORTAGE_BIN_PATH}/ebuild-helpers/3:${PORTAGE_BIN_PATH}/ebuild-helpers" |
24 |
+ ;; |
25 |
+ *) |
26 |
+ ebuild_helpers_path="${PORTAGE_BIN_PATH}/ebuild-helpers" |
27 |
+ ;; |
28 |
+ esac |
29 |
+ |
30 |
+ export PATH="/usr/local/sbin:/sbin:/usr/sbin:${ebuild_helpers_path}:/usr/local/bin:/bin:/usr/bin:${ROOTPATH}" |
31 |
+ |
32 |
if ! hasq $EBUILD_SH_ARGS clean depend help info nofetch ; then |
33 |
|
34 |
if hasq distcc $FEATURES ; then |