1 |
On Sun, 10 Mar 2013 12:18:25 +0000 |
2 |
Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote: |
3 |
|
4 |
> On Sun, 10 Mar 2013 13:16:46 +0100 |
5 |
> Ulrich Mueller <ulm@g.o> wrote: |
6 |
> > >>>>> On Sun, 10 Mar 2013, Ulrich Mueller wrote: |
7 |
> > |
8 |
> > >>>>> On Sun, 10 Mar 2013, Michał Górny wrote: |
9 |
> > >> +DEPEND=">=app-shells/bash-4.2" |
10 |
> > >> + |
11 |
> > |
12 |
> > > Why is this needed? |
13 |
> > |
14 |
> > Seems it's because of this: |
15 |
> > |
16 |
> > >> + declare -g -A _MULTIBUILD_EXPORTED_PHASES || die |
17 |
> > >> + local p |
18 |
> > >> + for p; do |
19 |
> > >> + _MULTIBUILD_EXPORTED_PHASES[${p}]=${ECLASS}_${p} |
20 |
> > >> + done |
21 |
> > |
22 |
> > Associative arrays are not supported in bash 3.2, so they must not be |
23 |
> > used in EAPIs 0 to 5. |
24 |
> |
25 |
> A dependency upon a newer bash doesn't guarantee that the package |
26 |
> mangler will use that bash. |
27 |
|
28 |
Yep. That's why the non-quoted fragment has a safety check and dies if |
29 |
it doesn't. |
30 |
|
31 |
-- |
32 |
Best regards, |
33 |
Michał Górny |