2011/8/18 Fabian Groffen <grob...@gentoo.org>:
>> > if [ "${LC_PCAT+x}" != "x" ]; then
>> >     CMAKE_USE_DIR="${S}/src/plugins/${LC_PCAT}/${PN#leechcraft-}"
>> > else
>> >     if [[ ${PN} != "leechcraft-core" ]]; then
>> >             CMAKE_USE_DIR="${S}/src/plugins/${PN#leechcraft-}"
>> >     else
>> >             CMAKE_USE_DIR="${S}/src"
>> >     fi
>> > fi
>>
>> if-elif-else-fi.
>
> This sounds like a kind of bogus suggestion to me.  Mixing use of [ and
> [[, on the other hand, is more what deserves attention here.

'elif' seems more convenient here, i just forgot about it :)

-- 
Regards, Maxim.

Reply via email to