Patchwork [2/2] classes/ptest: fix quoting

login
register
mail settings
Submitter Paul Eggleton
Date Oct. 30, 2013, 3:41 p.m.
Message ID <2fcf2cc2e51308158175f07f6446f29da73b6070.1383147565.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/60789/
State Accepted
Commit 0af9cf31851896276a219170001047406f45de50
Headers show

Comments

Paul Eggleton - Oct. 30, 2013, 3:41 p.m.
BitBake currently allows using the same quotes outside and inside the
value, but it isn't really right, looks odd and might stop working in
future.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/classes/ptest.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index 347a681..508ea9a 100644
--- a/meta/classes/ptest.bbclass
+++ b/meta/classes/ptest.bbclass
@@ -6,7 +6,7 @@  PTEST_PATH ?= "${libdir}/${PN}/ptest"
 FILES_${PN}-ptest = "${PTEST_PATH}"
 SECTION_${PN}-ptest = "devel"
 ALLOW_EMPTY_${PN}-ptest = "1"
-PTEST_ENABLED = "${@base_contains("DISTRO_FEATURES", "ptest", "1", "0", d)}"
+PTEST_ENABLED = "${@base_contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}"
 RDEPENDS_${PN}-ptest_virtclass-native = ""
 RDEPENDS_${PN}-ptest_virtclass-nativesdk = ""