summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-02-21 17:21:43 +0000
committerRoss Burton <ross@openedhand.com>2007-02-21 17:21:43 +0000
commit56a65b34e8d66ccea4e3afe074c2a91007c0a85a (patch)
treec7a267f2fe088d5f7f5f2c60d27ee2ab1e21f25e
parente36aeeb0156ffbbfd818b388f9a8fcd94d636314 (diff)
downloadpoky-56a65b34e8d66ccea4e3afe074c2a91007c0a85a.tar.gz
Fix bashisms
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1281 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/classes/package.bbclass2
-rw-r--r--meta/classes/rm_work.bbclass2
2 files changed, 2 insertions, 2 deletions
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() {
153 if test $st -ne 0 153 if test $st -ne 0
154 then 154 then
155 oewarn "runstrip: ${STRIP} $1: strip failed" >&2 155 oewarn "runstrip: ${STRIP} $1: strip failed" >&2
156 if [ x${IGNORE_STRIP_ERRORS} == x1 ] 156 if [ x${IGNORE_STRIP_ERRORS} = x1 ]
157 then 157 then
158 #FIXME: remove this, it's for error detection 158 #FIXME: remove this, it's for error detection
159 if file "$1" 2>/dev/null >&2 159 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 () {
10 cd ${WORKDIR} 10 cd ${WORKDIR}
11 for dir in * 11 for dir in *
12 do 12 do
13 if [ `basename ${S}` == $dir ]; then 13 if [ `basename ${S}` = $dir ]; then
14 rm -rf $dir/* 14 rm -rf $dir/*
15 elif [ $dir != 'temp' ]; then 15 elif [ $dir != 'temp' ]; then
16 rm -rf $dir 16 rm -rf $dir