aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2010-10-26 15:39:30 +0000
committerMichael Smith <msmith@cbnco.com>2010-11-14 18:36:49 -0500
commit2b7c6e17b263f6c45d104100ce165199581b37aa (patch)
treeaaff820721c24d91887df42aada1e82329ea0d29 /classes
parent8eaa1c7f010f4b4db10bc69f0efc51bab130418f (diff)
downloadopenembedded-2b7c6e17b263f6c45d104100ce165199581b37aa.tar.gz
module_strip.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/module_strip.bbclass2
1 files changed, 1 insertions, 1 deletions
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`"