diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-08-03 10:39:00 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-04 15:06:38 +0100 |
commit | 03ca33e2eb5c242c28834a5f41a379a193ac08e4 (patch) | |
tree | af12305bf1a3f302710dafd3802815e10730713a /documentation/poky-ref-manual/introduction.xml | |
parent | 735e7081be64673977a233fa0f2d20688ae5f381 (diff) | |
download | poky-03ca33e2eb5c242c28834a5f41a379a193ac08e4.tar.gz |
bb/ui/hob: fix detection of whether GPLv3 is disabled
Find returns -1 if the substring isn't found, so checking for the
Truthiness of the return value is insufficient. An INCOMPATIBLE_LICENSE
value which only includes GPLv3 will cause find to return 0, for example.
Fixes [YOCTO #1320]
(Bitbake rev: 28c71e63355ca94402a9049b8a07046e7b460026)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/poky-ref-manual/introduction.xml')
0 files changed, 0 insertions, 0 deletions