1 |
Dan Armak wrote: [Thu Jun 30 2005, 04:06:03PM EDT] |
2 |
> Because the function takes a parameter - the minimal version |
3 |
> required from which to start the list in the ||. |
4 |
|
5 |
Makes sense. |
6 |
|
7 |
> Any everyone who thinks functions inside $DEPEND are iffy should |
8 |
> look at deprange() and deprange-dual()... /me hides |
9 |
|
10 |
They're definitely iffy. Try this at a bash prompt: |
11 |
|
12 |
DEPEND="$(exit 1)" |
13 |
|
14 |
See the problem? It didn't exit. That's what will happen if |
15 |
a function in DEPEND fails: nothing. Except that yours will currently |
16 |
stick this in DEPEND: |
17 |
|
18 |
!!! error: qt_min_version called with invalid parameter: \"$1\", |
19 |
please report bug |
20 |
|
21 |
Regards, |
22 |
Aron |
23 |
|
24 |
-- |
25 |
Aron Griffis |
26 |
Gentoo Linux Developer |