Patchwork [1/3] license.bbclass: remove bashism.

login
register
mail settings
Submitter Elizabeth Flanagan
Date Dec. 10, 2011, 12:05 a.m.
Message ID <e335966f9acb0586d498f9c390bd797de2987db5.1323475141.git.elizabeth.flanagan@intel.com>
Download mbox | patch
Permalink /patch/16623/
State Accepted
Commit 035a569d5241be9a217dbdbd6650ee04c4c4d67f
Headers show

Comments

Elizabeth Flanagan - Dec. 10, 2011, 12:05 a.m.
From: Elizabeth Flanagan <elizabeth.flanagan@intel.com>

bashism in create_license_manifest removed.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
---
 meta/classes/license.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 8c64e4c..e520a4c 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