summaryrefslogtreecommitdiffstats
path: root/meta
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:59 +0000
commit8bb0353e088b145b21f34eaa706d632943eeaa2b (patch)
tree9516cdd19a2281d8efcaf9b75cd1cd38b7b5b132 /meta
parent545b00ae184895d75837a7e114267d3565bc01d7 (diff)
downloadpoky-8bb0353e088b145b21f34eaa706d632943eeaa2b.tar.gz
cpan_build: Fix bashism
Fix a build failure caused by a bashism and improve quoting whilst in the area. (From OE-Core rev: 9eb78340c61acddb0c2012e25c76c18735febb4d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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):
20DEPENDS_prepend = "${@cpan_build_dep_prepend(d)}" 20DEPENDS_prepend = "${@cpan_build_dep_prepend(d)}"
21 21
22cpan_build_do_configure () { 22cpan_build_do_configure () {
23 if [ ${@is_target(d)} == "yes" ]; then 23 if [ "${@is_target(d)}" = "yes" ]; then
24 # build for target 24 # build for target
25 . ${STAGING_LIBDIR}/perl/config.sh 25 . ${STAGING_LIBDIR}/perl/config.sh
26 fi 26 fi