aboutsummaryrefslogtreecommitdiffstats
path: root/classes/rm_work.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-02-22 14:58:02 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-02-22 14:58:02 +0000
commit6f6b7f81a0cdc9024c6c209a33cd686b17d15bf4 (patch)
tree2e54bdcaabd936766140c747988529311f00b2ac /classes/rm_work.bbclass
parent4c39222f0d5346319086ee710bc9eeabc7060ebb (diff)
downloadopenembedded-6f6b7f81a0cdc9024c6c209a33cd686b17d15bf4.tar.gz
openembedded-6f6b7f81a0cdc9024c6c209a33cd686b17d15bf4.tar.bz2
openembedded-6f6b7f81a0cdc9024c6c209a33cd686b17d15bf4.zip
classes: package, rm_work - fix bashisms (from Poky)
Diffstat (limited to 'classes/rm_work.bbclass')
-rw-r--r--classes/rm_work.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rm_work.bbclass b/classes/rm_work.bbclass
index 7f590e1b15..1b87004143 100644
--- a/classes/rm_work.bbclass
+++ b/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