From 858351e7bb7ff072fe621a9589e7b97e9c2f7c17 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sat, 14 Jun 2008 11:17:23 +0000 Subject: rm_work: now that packaged-staging knows about rm_work we can make it more potent again --- classes/rm_work.bbclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'classes/rm_work.bbclass') 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 } -- cgit v1.2.3