diff options
Diffstat (limited to 'meta/classes/rm_work.bbclass')
-rw-r--r-- | meta/classes/rm_work.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass index 7cbdb17623..957ba4098b 100644 --- a/meta/classes/rm_work.bbclass +++ b/meta/classes/rm_work.bbclass | |||
@@ -19,10 +19,10 @@ do_rm_work () { | |||
19 | do | 19 | do |
20 | if [ `basename ${S}` = $dir ]; then | 20 | if [ `basename ${S}` = $dir ]; then |
21 | rm -rf $dir | 21 | rm -rf $dir |
22 | # The package and package-split directories are retained by sstate for | 22 | # The package and packages-split directories are retained by sstate for |
23 | # do_package so we retain them here too. Anything in sstate 'plaindirs' | 23 | # do_package so we retain them here too. Anything in sstate 'plaindirs' |
24 | # should be retained. Also retain logs and other files in temp. | 24 | # should be retained. Also retain logs and other files in temp. |
25 | elif [ $dir != 'temp' ] && [ $dir != 'package' ] && [ $dir != 'package-split' ]; then | 25 | elif [ $dir != 'temp' ] && [ $dir != 'package' ] && [ $dir != 'packages-split' ]; then |
26 | rm -rf $dir | 26 | rm -rf $dir |
27 | fi | 27 | fi |
28 | done | 28 | done |