From 56a65b34e8d66ccea4e3afe074c2a91007c0a85a Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 21 Feb 2007 17:21:43 +0000 Subject: Fix bashisms git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1281 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/classes/package.bbclass | 2 +- meta/classes/rm_work.bbclass | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/classes') diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 3d56ca11b6..d6d07682a6 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -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 diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass index 7f590e1b15..1b87004143 100644 --- a/meta/classes/rm_work.bbclass +++ b/meta/classes/rm_work.bbclass @@ -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 -- cgit v1.2.3-54-g00ecf