On Thu, 18 Aug 2011 19:30:29 +0400 Maxim Koltsov <maksbo...@gentoo.org> wrote:
> if [ "${LEECHCRAFT_PACKAGE_CATEGORY+x}" != "x" ]; then > > CMAKE_USE_DIR="${S}/src/plugins/${LEECHCRAFT_PACKAGE_CATEGORY}/${PN#leechcraft-}" > elif [ ${PN} != "leechcraft-core" ]; then > CMAKE_USE_DIR="${S}/src/plugins/${PN#leechcraft-}" [[ ]] is better here because it's a bash builtin. And you don't need quotes there. What should happen if LEECHCRAFT_PACKAGE_CATEGORY is set to ''? -- Best regards, Michał Górny
signature.asc
Description: PGP signature