aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2010-10-26 15:39:28 +0000
committerMichael Smith <msmith@cbnco.com>2010-11-14 18:36:49 -0500
commit8eaa1c7f010f4b4db10bc69f0efc51bab130418f (patch)
tree10d27cffbe8315f3be94c71177186fe8c17d48dc /classes
parenta69d379856aeb4973a24b2046a1d2c7601603eaf (diff)
downloadopenembedded-8eaa1c7f010f4b4db10bc69f0efc51bab130418f.tar.gz
cpan_build.bbclass: fix sh equality operator
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Acked-by: Michael Smith <msmith@cbnco.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/cpan_build.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/cpan_build.bbclass b/classes/cpan_build.bbclass
index 15c93fb56d..d1bbc4f93e 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"