license.bbclass: fix missing of license files on ubuntu build host
authorChen Qi <Qi.Chen@windriver.com>
Mon, 18 Nov 2013 07:20:44 +0000 (15:20 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Nov 2013 14:03:31 +0000 (14:03 +0000)
commitdc7e42005484315136eebc8c482006a463ab964c
tree59492eb7a48c4ba5ff4991e26c8b95e988491d7d
parentb2ca05923a944bd47d202621ca8ff304eef89dfb
license.bbclass: fix missing of license files on ubuntu build host

The license_create_manifest function contains bashism, this will lead
to unexpected results on ubuntu build host, as sh is linked to dash on
ubuntu. Even if COPY_LIC_MANIFEST and COPY_LIC_DIRS are enabled, the
license files will still be missing on target.

This patch fixes the above problem.

[YOCTO #5549]

(From OE-Core rev: 4df9daee5c732c0a20dabe8515577238a1508512)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/license.bbclass