cpan_build.bbclass: fix sh equality operator
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 26 Oct 2010 15:39:28 +0000 (15:39 +0000)
committerMichael Smith <msmith@cbnco.com>
Sun, 14 Nov 2010 23:36:49 +0000 (18:36 -0500)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Michael Smith <msmith@cbnco.com>
classes/cpan_build.bbclass

index 15c93fb..d1bbc4f 100644 (file)
@@ -22,7 +22,7 @@ def cpan_build_deps(d):
 DEPENDS_prepend = "${@cpan_build_deps(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
                perl Build.PL --installdirs vendor \
@@ -44,7 +44,7 @@ cpan_build_do_compile () {
 }
 
 cpan_build_do_install () {
-       if [ ${@is_target(d)} == "yes" ]; then
+       if [ ${@is_target(d)} = "yes" ]; then
                perl Build install
        else
                perl Build install destdir="${WORKDIR}/image"