[oe-commits] Andreas Oberritter : module_strip.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: 2b7c6e17b263f6c45d104100ce165199581b37aa
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2b7c6e17b263f6c45d104100ce165199581b37aa

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Tue Oct 26 15:39:30 2010 +0000

module_strip.bbclass: fix sh equality operator

Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
Acked-by: Michael Smith <msmith at cbnco.com>

---

 classes/module_strip.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/module_strip.bbclass b/classes/module_strip.bbclass
index 6a298fd..9c17e4c 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`"





More information about the Openembedded-commits mailing list