summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2006-01-31 20:26:47 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-31 20:26:47 +0000
commit018e4eb1e52283335d165f56ec887a057fb8cb90 (patch)
tree5f860e0bc9c5f954a2d3d1cfe1c7798e2b86cea6 /classes
parentefa1be508ee2adf536507ab77a094a440d115508 (diff)
package.bbclass: interpret 0 as false (as well as "") when evaluating IGNORE_STRIP_ERRORS
Diffstat (limited to 'classes')
-rw-r--r--classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 81ab094ef1..53e1b936b7 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 test -n '${IGNORE_STRIP_ERRORS}'
+ if [ x${IGNORE_STRIP_ERRORS} != x1 ]
then
#FIXME: remove this, it's for error detection
if file "$1" 2>/dev/null >&2