1 |
2011/8/18 Fabian Groffen <grobian@g.o>: |
2 |
>> > if [ "${LC_PCAT+x}" != "x" ]; then |
3 |
>> > CMAKE_USE_DIR="${S}/src/plugins/${LC_PCAT}/${PN#leechcraft-}" |
4 |
>> > else |
5 |
>> > if [[ ${PN} != "leechcraft-core" ]]; then |
6 |
>> > CMAKE_USE_DIR="${S}/src/plugins/${PN#leechcraft-}" |
7 |
>> > else |
8 |
>> > CMAKE_USE_DIR="${S}/src" |
9 |
>> > fi |
10 |
>> > fi |
11 |
>> |
12 |
>> if-elif-else-fi. |
13 |
> |
14 |
> This sounds like a kind of bogus suggestion to me. Mixing use of [ and |
15 |
> [[, on the other hand, is more what deserves attention here. |
16 |
|
17 |
'elif' seems more convenient here, i just forgot about it :) |
18 |
|
19 |
-- |
20 |
Regards, Maxim. |