module_strip.bbclass: fix sh equality operator
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 26 Oct 2010 15:39:30 +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/module_strip.bbclass

index 6a298fd..9c17e4c 100644 (file)
@@ -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`"