| … | |
… | |
| 42 | java-pkg-2_pkg_setup() { |
42 | java-pkg-2_pkg_setup() { |
| 43 | java-pkg_init |
43 | java-pkg_init |
| 44 | } |
44 | } |
| 45 | |
45 | |
| 46 | # ------------------------------------------------------------------------------ |
46 | # ------------------------------------------------------------------------------ |
| 47 | # @note |
47 | # @note |
| 48 | # |
48 | # |
| 49 | # We need to initialize the environment in every function because Portage |
49 | # We need to initialize the environment in every function because Portage |
| 50 | # will source /etc/profile between phases and trample all over the env. |
50 | # will source /etc/profile between phases and trample all over the env. |
| 51 | # This is accomplished by phase hooks, which is available with newer versions of |
51 | # This is accomplished by phase hooks, which is available with newer versions of |
| 52 | # portage. |
52 | # portage. |
| 53 | # ------------------------------------------------------------------------------ |
53 | # ------------------------------------------------------------------------------ |
| 54 | |
54 | |