diff options
author | Koen Kooi <koen@openembedded.org> | 2008-06-14 11:17:23 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-06-14 11:17:23 +0000 |
commit | 858351e7bb7ff072fe621a9589e7b97e9c2f7c17 (patch) | |
tree | 8070a8b6c73bcc03625559a87aa9a281e702e042 /classes/rm_work.bbclass | |
parent | b84d740190e1b33485682095bb74584a7e82d99e (diff) |
rm_work: now that packaged-staging knows about rm_work we can make it more potent again
Diffstat (limited to 'classes/rm_work.bbclass')
-rw-r--r-- | classes/rm_work.bbclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/rm_work.bbclass b/classes/rm_work.bbclass index 917fadd750..094f9167bb 100644 --- a/classes/rm_work.bbclass +++ b/classes/rm_work.bbclass @@ -17,8 +17,10 @@ do_rm_work () { cd ${WORKDIR} for dir in * do - if [ `basename ${S}` = $dir ]; then - rm -rf $dir + if [ `basename ${dir}` = "temp" ]; then + echo "Not removing temp" + else + echo "Removing $dir" ; rm $dir -rf fi done } |