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