1 |
2011/8/18 Michał Górny <mgorny@g.o>: |
2 |
> On Thu, 18 Aug 2011 19:30:29 +0400 |
3 |
> Maxim Koltsov <maksbotan@g.o> wrote: |
4 |
> |
5 |
>> if [ "${LEECHCRAFT_PACKAGE_CATEGORY+x}" != "x" ]; then |
6 |
>> CMAKE_USE_DIR="${S}/src/plugins/${LEECHCRAFT_PACKAGE_CATEGORY}/${PN#leechcraft-}" |
7 |
>> elif [ ${PN} != "leechcraft-core" ]; then |
8 |
>> CMAKE_USE_DIR="${S}/src/plugins/${PN#leechcraft-}" |
9 |
> |
10 |
> [[ ]] is better here because it's a bash builtin. And you don't need |
11 |
> quotes there. |
12 |
> |
13 |
> What should happen if LEECHCRAFT_PACKAGE_CATEGORY is set to ''? |
14 |
|
15 |
Fixed, i think. In this version empty variable will be handled correctly. |
16 |
|
17 |
-- |
18 |
Regards, Maxim. |