Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: maksbotan@g.o, 0xd34df00d@×××××.com
Subject: Re: [gentoo-dev] Re: RFC: leechcraft.eclass
Date: Thu, 18 Aug 2011 15:51:23
Message-Id: 20110818175210.44890273@pomiocik.lan
In Reply to: Re: [gentoo-dev] Re: RFC: leechcraft.eclass by Maxim Koltsov
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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Re: RFC: leechcraft.eclass Maxim Koltsov <maksbotan@g.o>