From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/2] license.bbclass: fix unexpected operator for LICENSE values with space
Date: Tue, 17 Feb 2015 20:02:28 +0100 [thread overview]
Message-ID: <1424199748-10800-2-git-send-email-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <1424199748-10800-1-git-send-email-Martin.Jansa@gmail.com>
* add quotes around pkged_lic so that it works correctly with spaces
* fixes following error:
run.license_create_manifest.50601: 193: [: GPLv2: unexpected operator
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/classes/license.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 13c1a0f..044b3b0 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -50,7 +50,7 @@ license_create_manifest() {
pkged_pv="$(sed -n 's/^PV: //p' ${filename})"
pkged_name="$(basename $(readlink ${filename}))"
pkged_lic="$(sed -n "/^LICENSE_${pkged_name}: /{ s/^LICENSE_${pkged_name}: //; p }" ${filename})"
- if [ -z ${pkged_lic} ]; then
+ if [ -z "${pkged_lic}" ]; then
# fallback checking value of LICENSE
pkged_lic="$(sed -n "/^LICENSE: /{ s/^LICENSE: //; p }" ${filename})"
fi
--
2.3.0
next prev parent reply other threads:[~2015-02-17 19:02 UTC|newest]
Thread overview: 109+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-02 10:02 [RFT] upcoming glibc 2.21 and gcc 4.9 upgrade Khem Raj
2015-02-02 10:40 ` [yocto] " Burton, Ross
2015-02-02 10:40 ` Burton, Ross
2015-02-02 10:40 ` [yocto] " Burton, Ross
2015-02-02 10:53 ` Khem Raj
2015-02-02 10:53 ` Khem Raj
2015-02-02 10:54 ` [yocto] " Khem Raj
2015-02-02 10:54 ` Khem Raj
2015-02-02 17:25 ` [yocto] " Burton, Ross
2015-02-02 17:25 ` Burton, Ross
2015-02-02 17:25 ` [yocto] " Burton, Ross
2015-02-02 17:40 ` Khem Raj
2015-02-02 17:40 ` Khem Raj
2015-02-02 17:40 ` [yocto] " Khem Raj
2015-02-02 17:50 ` Burton, Ross
2015-02-02 17:50 ` Burton, Ross
2015-02-02 17:50 ` [yocto] " Burton, Ross
2015-02-02 18:33 ` Khem Raj
2015-02-02 18:33 ` Khem Raj
2015-02-02 18:33 ` [yocto] " Khem Raj
2015-02-02 21:45 ` Burton, Ross
2015-02-02 21:45 ` Burton, Ross
2015-02-02 21:45 ` [yocto] " Burton, Ross
2015-02-03 5:03 ` Khem Raj
2015-02-03 5:03 ` Khem Raj
2015-02-03 11:55 ` [yocto] " Burton, Ross
2015-02-03 11:55 ` Burton, Ross
2015-02-03 11:55 ` [yocto] " Burton, Ross
2015-02-03 14:43 ` Dan McGregor
2015-02-03 14:43 ` [OE-core] " Dan McGregor
2015-02-12 7:35 ` Khem Raj
2015-02-12 7:35 ` [OE-core] " Khem Raj
2015-02-12 7:35 ` [OE-core] [yocto] " Khem Raj
2015-02-14 7:53 ` Burton, Ross
2015-02-14 7:53 ` [OE-core] " Burton, Ross
2015-02-14 7:53 ` [OE-core] [yocto] " Burton, Ross
2015-02-14 10:06 ` Richard Purdie
2015-02-14 10:06 ` [OE-core] " Richard Purdie
2015-02-14 10:06 ` [OE-core] [yocto] " Richard Purdie
2015-02-14 13:08 ` Burton, Ross
2015-02-14 13:08 ` [OE-core] " Burton, Ross
2015-02-14 13:08 ` [OE-core] [yocto] " Burton, Ross
2015-02-14 15:15 ` Dan McGregor
2015-02-14 15:15 ` [OE-core] " Dan McGregor
2015-02-15 21:59 ` Richard Purdie
2015-02-15 21:59 ` [OE-core] " Richard Purdie
2015-02-15 21:59 ` [OE-core] [yocto] " Richard Purdie
2015-02-17 17:50 ` Martin Jansa
2015-02-17 17:50 ` [OE-core] " Martin Jansa
2015-02-17 17:50 ` [OE-core] [yocto] " Martin Jansa
2015-02-17 19:02 ` [PATCH 1/2] valgrind: add glibc-2.21 to glibc.patch Martin Jansa
2015-02-17 19:02 ` Martin Jansa [this message]
2015-02-18 7:15 ` [yocto] [RFT] upcoming glibc 2.21 and gcc 4.9 upgrade Khem Raj
2015-02-18 7:15 ` [OE-core] " Khem Raj
2015-02-18 7:15 ` [OE-core] [yocto] " Khem Raj
2015-02-18 7:46 ` Richard Purdie
2015-02-18 7:46 ` [OE-core] " Richard Purdie
2015-02-18 7:46 ` [OE-core] [yocto] " Richard Purdie
2015-02-18 9:01 ` Khem Raj
2015-02-18 9:01 ` [OE-core] " Khem Raj
2015-02-18 9:01 ` [OE-core] [yocto] " Khem Raj
2015-02-18 11:51 ` Richard Purdie
2015-02-18 11:51 ` [OE-core] " Richard Purdie
2015-02-18 11:51 ` [OE-core] [yocto] " Richard Purdie
2015-02-18 13:06 ` Richard Purdie
2015-02-18 13:06 ` [OE-core] " Richard Purdie
2015-02-18 13:06 ` [yocto] " Richard Purdie
2015-02-18 18:38 ` [yocto] " Khem Raj
2015-02-18 18:38 ` [OE-core] " Khem Raj
2015-02-18 18:38 ` [yocto] " Khem Raj
2015-02-18 21:41 ` [yocto] " Richard Purdie
2015-02-18 21:41 ` [OE-core] " Richard Purdie
2015-02-18 21:41 ` [yocto] " Richard Purdie
2015-02-19 0:23 ` [yocto] " Khem Raj
2015-02-19 0:23 ` [OE-core] " Khem Raj
2015-02-19 0:23 ` [yocto] " Khem Raj
2015-02-19 0:28 ` [yocto] " Khem Raj
2015-02-19 0:28 ` [OE-core] " Khem Raj
2015-02-19 0:28 ` [yocto] " Khem Raj
2015-02-19 0:31 ` [yocto] " Khem Raj
2015-02-19 0:31 ` [OE-core] " Khem Raj
2015-02-19 0:31 ` [yocto] " Khem Raj
2015-02-19 3:36 ` [yocto] " Khem Raj
2015-02-19 3:36 ` [OE-core] " Khem Raj
2015-02-19 3:36 ` [yocto] " Khem Raj
2015-02-02 16:41 ` akuster
2015-02-02 17:26 ` [yocto] " Burton, Ross
2015-02-02 17:26 ` Burton, Ross
2015-02-02 17:26 ` [yocto] " Burton, Ross
2015-02-02 17:43 ` Khem Raj
2015-02-02 17:43 ` Khem Raj
2015-02-02 17:43 ` [yocto] " Khem Raj
2015-02-20 18:03 ` Richard Purdie
2015-02-20 18:03 ` Richard Purdie
2015-02-21 0:27 ` [yocto] " Peter Urbanec
2015-02-21 0:27 ` [OE-core] " Peter Urbanec
2015-02-21 0:27 ` [OE-core] [yocto] " Peter Urbanec
2015-02-24 6:34 ` Khem Raj
2015-02-24 6:34 ` [OE-core] " Khem Raj
2015-02-24 6:34 ` [OE-core] [yocto] " Khem Raj
2015-02-21 9:22 ` Richard Purdie
2015-02-21 9:22 ` [OE-core] " Richard Purdie
2015-02-21 9:22 ` [OE-core] [yocto] " Richard Purdie
2015-02-24 6:59 ` Khem Raj
2015-02-24 6:59 ` [OE-core] " Khem Raj
2015-02-24 6:59 ` [OE-core] [yocto] " Khem Raj
2015-02-24 21:58 ` Khem Raj
2015-02-24 21:58 ` [OE-core] " Khem Raj
2015-02-24 21:58 ` [OE-core] [yocto] " Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1424199748-10800-2-git-send-email-Martin.Jansa@gmail.com \
--to=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.