1 |
Author: zmedico |
2 |
Date: 2009-04-08 20:08:14 +0000 (Wed, 08 Apr 2009) |
3 |
New Revision: 13301 |
4 |
|
5 |
Modified: |
6 |
main/trunk/bin/ebuild.sh |
7 |
Log: |
8 |
Call _ebuild_phase_funcs() from ebuild_main() since it needs to be called for |
9 |
every phase (for EAPI 2 default() phase function setup). |
10 |
|
11 |
|
12 |
Modified: main/trunk/bin/ebuild.sh |
13 |
=================================================================== |
14 |
--- main/trunk/bin/ebuild.sh 2009-04-08 20:02:26 UTC (rev 13300) |
15 |
+++ main/trunk/bin/ebuild.sh 2009-04-08 20:08:14 UTC (rev 13301) |
16 |
@@ -1861,11 +1861,6 @@ |
17 |
done |
18 |
[[ -n $DEFINED_PHASES ]] || DEFINED_PHASES=- |
19 |
|
20 |
- if [[ -n $EBUILD_PHASE && $EBUILD_PHASE != depend ]] ; then |
21 |
- local phase_func=$(_ebuild_arg_to_phase "$EAPI" "$EBUILD_PHASE") |
22 |
- [[ -n $phase_func ]] && _ebuild_phase_funcs "$EAPI" "$phase_func" |
23 |
- fi |
24 |
- |
25 |
# This needs to be exported since prepstrip is a separate shell script. |
26 |
[[ -n $QA_PRESTRIPPED ]] && export QA_PRESTRIPPED |
27 |
} |
28 |
@@ -1933,6 +1928,11 @@ |
29 |
fi |
30 |
fi |
31 |
|
32 |
+ if [[ $EBUILD_PHASE != depend ]] ; then |
33 |
+ local phase_func=$(_ebuild_arg_to_phase "$EAPI" "$EBUILD_PHASE") |
34 |
+ [[ -n $phase_func ]] && _ebuild_phase_funcs "$EAPI" "$phase_func" |
35 |
+ fi |
36 |
+ |
37 |
source_all_bashrcs |
38 |
|
39 |
case ${EBUILD_SH_ARGS} in |