mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
Fix bashisms
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1281 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user