Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [PATCH] rm_work.bbclass: reordered 'rm $dir -rf' arguments
@ 2010-03-21 22:47 Enrico Scholz
  2010-03-22  6:10 ` Roman I Khimov
  0 siblings, 1 reply; 2+ messages in thread
From: Enrico Scholz @ 2010-03-21 22:47 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Enrico Scholz

Using an 'rm -rf $dir' ordering is more portable.

Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
---
 classes/rm_work.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/rm_work.bbclass b/classes/rm_work.bbclass
index a53d12b..0857f49 100644
--- a/classes/rm_work.bbclass
+++ b/classes/rm_work.bbclass
@@ -20,7 +20,7 @@ do_rm_work () {
         if [ `basename ${dir}` = "temp" ]; then
             echo "Not removing temp"
         else 
-            echo "Removing $dir" ; rm $dir -rf		
+            echo "Removing $dir" ; rm -rf $dir
         fi
     done
 }
-- 
1.6.6.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-22  6:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-21 22:47 [PATCH] rm_work.bbclass: reordered 'rm $dir -rf' arguments Enrico Scholz
2010-03-22  6:10 ` Roman I Khimov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox