2011/8/18 Michał Górny <mgo...@gentoo.org>: > 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 ''?
Fixed, i think. In this version empty variable will be handled correctly. -- Regards, Maxim.
leechcraft.eclass
Description: Binary data