diff options
Diffstat (limited to 'meta/classes/rm_work.bbclass')
-rw-r--r-- | meta/classes/rm_work.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 |