]> code.ossystems Code Review - openembedded-core.git/commitdiff
Fix bashisms
authorRoss Burton <ross@openedhand.com>
Wed, 21 Feb 2007 17:21:43 +0000 (17:21 +0000)
committerRoss Burton <ross@openedhand.com>
Wed, 21 Feb 2007 17:21:43 +0000 (17:21 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1281 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/package.bbclass
meta/classes/rm_work.bbclass

index 3d56ca11b68656d27b83888ac2af051cf0e4690f..d6d07682a61e1c8fd68218b213b9f84e72e66372 100644 (file)
@@ -153,7 +153,7 @@ runstrip() {
                if test $st -ne 0
                then
                        oewarn "runstrip: ${STRIP} $1: strip failed" >&2
-                       if [ x${IGNORE_STRIP_ERRORS} == x1 ]
+                       if [ x${IGNORE_STRIP_ERRORS} = x1 ]
                        then
                                #FIXME: remove this, it's for error detection
                                if file "$1" 2>/dev/null >&2
index 7f590e1b15aad290d9adaa544a5d8cf7fcce3cac..1b87004143d8d171215786779ae05c9c586e051c 100644 (file)
@@ -10,7 +10,7 @@ do_rm_work () {
     cd ${WORKDIR}
     for dir in *
     do
-        if [ `basename ${S}` == $dir ]; then
+        if [ `basename ${S}` = $dir ]; then
             rm -rf $dir/*
         elif [ $dir != 'temp' ]; then
             rm -rf $dir