* [PATCH] cpan_build: Fix bashism
@ 2013-01-19 23:47 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-01-19 23:47 UTC (permalink / raw)
To: openembedded-core
Fix a build failure caused by a bashism and improve quoting whilst in
the area.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass
index 0809602..78592be 100644
--- a/meta/classes/cpan_build.bbclass
+++ b/meta/classes/cpan_build.bbclass
@@ -20,7 +20,7 @@ def cpan_build_dep_prepend(d):
DEPENDS_prepend = "${@cpan_build_dep_prepend(d)}"
cpan_build_do_configure () {
- if [ ${@is_target(d)} == "yes" ]; then
+ if [ "${@is_target(d)}" = "yes" ]; then
# build for target
. ${STAGING_LIBDIR}/perl/config.sh
fi
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-20 0:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-19 23:47 [PATCH] cpan_build: Fix bashism Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox