1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

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>
This commit is contained in:
Richard Purdie
2013-01-19 23:31:37 +00:00
parent 545b00ae18
commit 8bb0353e08
+1 -1
View File
@@ -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