license.bbclass: remove bashism
Removing a bashism that was dumping errors into rootfs log. (From OE-Core rev: 3e05acab1c119a3b2a4703ea8729cc768935d36e) Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
cdba3979b9
commit
ee2af267b7
|
@ -120,7 +120,7 @@ license_create_manifest() {
|
||||||
# Really don't need to copy the generics as they're
|
# Really don't need to copy the generics as they're
|
||||||
# represented in the manifest and in the actual pkg licenses
|
# represented in the manifest and in the actual pkg licenses
|
||||||
# Doing so would make your image quite a bit larger
|
# Doing so would make your image quite a bit larger
|
||||||
if [ ! ${lic} == "generic_*" ]; then
|
if [ ! ${lic} = "generic_*" ]; then
|
||||||
cp ${LICENSE_DIRECTORY}/${pkged_pn}/${lic} ${IMAGE_ROOTFS}/usr/share/common-licenses/${pkg}/${lic}
|
cp ${LICENSE_DIRECTORY}/${pkged_pn}/${lic} ${IMAGE_ROOTFS}/usr/share/common-licenses/${pkg}/${lic}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue