summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 12:20:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 12:21:37 +0000
commit5cac57179144e761eec6ccd8ffa43d5d9876fa04 (patch)
treec6c8cbab1cf4b81826a92f961ea97ecd7f7f25c7 /meta
parent9d7aa1090c407ac0da6154c481f1c787fd7efbfc (diff)
downloadpoky-5cac57179144e761eec6ccd8ffa43d5d9876fa04.tar.gz
rm_work.bbclass: Fix typo for package task directory preservation
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/rm_work.bbclass4
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