mirror of
git://git.yoctoproject.org/poky
synced 2026-10-02 17:21:24 +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:
parent
545b00ae18
commit
8bb0353e08
@ -20,7 +20,7 @@ def cpan_build_dep_prepend(d):
|
|||||||
DEPENDS_prepend = "${@cpan_build_dep_prepend(d)}"
|
DEPENDS_prepend = "${@cpan_build_dep_prepend(d)}"
|
||||||
|
|
||||||
cpan_build_do_configure () {
|
cpan_build_do_configure () {
|
||||||
if [ ${@is_target(d)} == "yes" ]; then
|
if [ "${@is_target(d)}" = "yes" ]; then
|
||||||
# build for target
|
# build for target
|
||||||
. ${STAGING_LIBDIR}/perl/config.sh
|
. ${STAGING_LIBDIR}/perl/config.sh
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user