classes/license: use "1" to set boolean variables
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 13 Nov 2013 14:32:44 +0000 (14:32 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Nov 2013 13:39:49 +0000 (13:39 +0000)
commitd69f1f7cf5739684da2da0eebcd0e9ffc8313a27
tree69e71b0e8ff9c0b23d438dcf74d58fc1f486fd49
parent5ee8c78eb1b89224aedb818d71bfbcc276453cd7
classes/license: use "1" to set boolean variables

The expected usage of COPY_LIC_MANIFEST and COPY_LIC_DIRS appears to be
to set them to "1" to enable; however the test here is just testing
whether they have a value at all, so setting them to "0" would also
enable them which is somewhat disingenuous. Actually check if they are
set to "1" instead in order to fix this.

(From OE-Core rev: 2d8e124adcf27af524eeeae61daf1b21a1c2f27c)

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