mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00: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
|
if test $st -ne 0
|
||||||
then
|
then
|
||||||
oewarn "runstrip: ${STRIP} $1: strip failed" >&2
|
oewarn "runstrip: ${STRIP} $1: strip failed" >&2
|
||||||
if [ x${IGNORE_STRIP_ERRORS} == x1 ]
|
if [ x${IGNORE_STRIP_ERRORS} = x1 ]
|
||||||
then
|
then
|
||||||
#FIXME: remove this, it's for error detection
|
#FIXME: remove this, it's for error detection
|
||||||
if file "$1" 2>/dev/null >&2
|
if file "$1" 2>/dev/null >&2
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ do_rm_work () {
|
|||||||
cd ${WORKDIR}
|
cd ${WORKDIR}
|
||||||
for dir in *
|
for dir in *
|
||||||
do
|
do
|
||||||
if [ `basename ${S}` == $dir ]; then
|
if [ `basename ${S}` = $dir ]; then
|
||||||
rm -rf $dir/*
|
rm -rf $dir/*
|
||||||
elif [ $dir != 'temp' ]; then
|
elif [ $dir != 'temp' ]; then
|
||||||
rm -rf $dir
|
rm -rf $dir
|
||||||
|
|||||||
Reference in New Issue
Block a user