]> code.ossystems Code Review - openembedded-core.git/commit
base.bbclass: fix substring matching in COMMERCIAL_LICENSE
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 7 Sep 2011 16:05:42 +0000 (17:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Sep 2011 08:55:55 +0000 (09:55 +0100)
commitb23e51e6c961cf3f7e2aaf89648fecce78424c99
tree4263c95b3ed3cff55209ab1bca9a31521c413e6f
parentfa8dad209247b780590bc8476b5b16e6608d7907
base.bbclass: fix substring matching in COMMERCIAL_LICENSE

Previously, if for example you had a package called "mx", and a second
package called "libomxil" listed in COMMERCIAL_LICENSE (without mx being
listed there), it would match mx as being commercially licensed because
mx is a substring of libomxil. Fix the search to ensure it only matches
the listed package name exactly.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass