From: Andreas Oberritter Date: Tue, 26 Oct 2010 15:39:30 +0000 (+0000) Subject: module_strip.bbclass: fix sh equality operator X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b7c6e17b263f6c45d104100ce165199581b37aa;p=openembedded.git module_strip.bbclass: fix sh equality operator Signed-off-by: Andreas Oberritter Acked-by: Michael Smith --- diff --git a/classes/module_strip.bbclass b/classes/module_strip.bbclass index 6a298fdde9..9c17e4cddc 100644 --- a/classes/module_strip.bbclass +++ b/classes/module_strip.bbclass @@ -8,7 +8,7 @@ KERNEL_MAJOR_VERSION ?= "${@get_kernelmajorversion('${KERNEL_VERSION}')}" do_strip_modules () { if test -e ${PKGD}/lib/modules; then - if [ "${KERNEL_MAJOR_VERSION}" == "2.6" ]; then + if [ "${KERNEL_MAJOR_VERSION}" = "2.6" ]; then modules="`find ${PKGD}/lib/modules -name \*.ko`" else modules="`find ${PKGD}/lib/modules -name \*.o`"