summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index cb4a396f5d..fd8d1b7b09 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -110,7 +110,7 @@ runstrip() {
if test $st -ne 0
then
oewarn "runstrip: ${STRIP} $1: strip failed" >&2
- if [ x${IGNORE_STRIP_ERRORS} != x ]
+ if [ x${IGNORE_STRIP_ERRORS} == x1 ]
then
#FIXME: remove this, it's for error detection
if file "$1" 2>/dev/null >&2