summaryrefslogtreecommitdiff
path: root/meta/classes/license.bbclass
diff options
context:
space:
mode:
authorElizabeth Flanagan <elizabeth.flanagan@intel.com>2011-12-09 16:05:22 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-10 00:16:51 +0000
commit035a569d5241be9a217dbdbd6650ee04c4c4d67f (patch)
tree145d42def60c70ed1231071b379d96544569a2f2 /meta/classes/license.bbclass
parent58fbb430040c9cce9f2c5f1515a4453dd49032cc (diff)
downloadopenembedded-core-035a569d5241be9a217dbdbd6650ee04c4c4d67f.tar.gz
openembedded-core-035a569d5241be9a217dbdbd6650ee04c4c4d67f.tar.bz2
openembedded-core-035a569d5241be9a217dbdbd6650ee04c4c4d67f.zip
license.bbclass: remove bashism.
bashism in create_license_manifest removed. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/license.bbclass')
-rw-r--r--meta/classes/license.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 8c64e4cd8a..e520a4ceeb 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -88,7 +88,7 @@ license_create_manifest() {
# check to see if the package name exists in the manifest. if so, bail.
if ! grep -q "PACKAGE NAME: ${pkg}" ${filename}; then
# exclude local recipes
- if [ ! ${pkged_pn} == "*locale*" ]; then
+ if [ ! "${pkged_pn}" = "*locale*" ]; then
echo "PACKAGE NAME:" ${pkg} >> ${LICENSE_DIRECTORY}/${IMAGE_NAME}/license.manifest
echo "RECIPE NAME:" ${pkged_pn} >> ${LICENSE_DIRECTORY}/${IMAGE_NAME}/license.manifest
echo "LICENSE: " >> ${LICENSE_DIRECTORY}/${IMAGE_NAME}/license.manifest