[OE-core] [PATCH 1/1] license.bbclass: remove bashism
Beth Flanagan
elizabeth.flanagan at intel.com
Fri Dec 16 16:44:07 UTC 2011
From: Elizabeth Flanagan <elizabeth.flanagan at intel.com>
Removing a bashism that was dumping errors into rootfs log.
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan at intel.com>
---
meta/classes/license.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index dd5d1bc..6e82bd9 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -120,7 +120,7 @@ license_create_manifest() {
# Really don't need to copy the generics as they're
# represented in the manifest and in the actual pkg licenses
# 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}
fi
done
--
1.7.1
More information about the Openembedded-core
mailing list