]> code.ossystems Code Review - openembedded-core.git/commitdiff
license.bbclass: remove bashism
authorElizabeth Flanagan <elizabeth.flanagan@intel.com>
Fri, 16 Dec 2011 16:44:07 +0000 (08:44 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Dec 2011 16:50:39 +0000 (16:50 +0000)
Removing a bashism that was dumping errors into rootfs log.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/license.bbclass

index dd5d1bce0e57e934c8d07fa086d6451d2d0ab69b..6e82bd94aed152f48066f27e6972e6c4e075015d 100644 (file)
@@ -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