[oe-commits] Andreas Oberritter : cpan_build.bbclass: fix sh equality operator
git version control
git at git.openembedded.org
Sun Nov 14 23:43:34 UTC 2010
Module: openembedded.git
Branch: master
Commit: 8eaa1c7f010f4b4db10bc69f0efc51bab130418f
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8eaa1c7f010f4b4db10bc69f0efc51bab130418f
Author: Andreas Oberritter <obi at opendreambox.org>
Date: Tue Oct 26 15:39:28 2010 +0000
cpan_build.bbclass: fix sh equality operator
Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
Acked-by: Michael Smith <msmith at cbnco.com>
---
classes/cpan_build.bbclass | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/classes/cpan_build.bbclass b/classes/cpan_build.bbclass
index 15c93fb..d1bbc4f 100644
--- a/classes/cpan_build.bbclass
+++ b/classes/cpan_build.bbclass
@@ -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"
More information about the Openembedded-commits
mailing list