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

login
register
mail settings
Submitter Elizabeth Flanagan
Date Dec. 16, 2011, 4:44 p.m.
Message ID <568afc1a01d9a6674e5109abce6dd5996b6c59e9.1324053729.git.elizabeth.flanagan@intel.com>
Download mbox | patch
Permalink /patch/17141/
State Accepted
Commit 3e05acab1c119a3b2a4703ea8729cc768935d36e
Headers show

Comments

Elizabeth Flanagan - Dec. 16, 2011, 4:44 p.m.
From: Elizabeth Flanagan <elizabeth.flanagan@intel.com>

Removing a bashism that was dumping errors into rootfs log.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
---
 meta/classes/license.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Richard Purdie - Dec. 16, 2011, 4:51 p.m.
On Fri, 2011-12-16 at 08:44 -0800, Beth Flanagan wrote:
> From: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
> 
> Removing a bashism that was dumping errors into rootfs log.
> 
> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
> ---
>  meta/classes/license.bbclass |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard

Patch

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