summaryrefslogtreecommitdiffstats
path: root/meta/classes/cpan_build.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-19 23:31:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-20 12:58:42 +0000
commit9eb78340c61acddb0c2012e25c76c18735febb4d (patch)
treef34afeed2dcf5923d7c369216022084b1994d160 /meta/classes/cpan_build.bbclass
parentdb84eaf851b22b262d9dc48eb55bd5224a00fdd2 (diff)
downloadopenembedded-core-9eb78340c61acddb0c2012e25c76c18735febb4d.tar.gz
cpan_build: Fix bashism
Fix a build failure caused by a bashism and improve quoting whilst in the area. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cpan_build.bbclass')
-rw-r--r--meta/classes/cpan_build.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass
index 080960212d..78592be987 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