Fix bashisms

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1281 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Ross Burton
2007-02-21 17:21:43 +00:00
parent e36aeeb015
commit 56a65b34e8
2 changed files with 2 additions and 2 deletions

View 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

View 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