[oe-commits] Elizabeth Flanagan : license.bbclass: remove bashism

git at git.openembedded.org git at git.openembedded.org
Fri Dec 16 16:56:02 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 3e05acab1c119a3b2a4703ea8729cc768935d36e
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3e05acab1c119a3b2a4703ea8729cc768935d36e

Author: Elizabeth Flanagan <elizabeth.flanagan at intel.com>
Date:   Fri Dec 16 08:44:07 2011 -0800

license.bbclass: remove bashism

Removing a bashism that was dumping errors into rootfs log.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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





More information about the Openembedded-commits mailing list