All of lore.kernel.org
 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

* Re: [PATCH] rm_work.bbclass: reordered 'rm $dir -rf' arguments
  2010-03-21 22:47 [PATCH] rm_work.bbclass: reordered 'rm $dir -rf' arguments Enrico Scholz
@ 2010-03-22  6:10 ` Roman I Khimov
  0 siblings, 0 replies; 2+ messages in thread
From: Roman I Khimov @ 2010-03-22  6:10 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: Text/Plain, Size: 406 bytes --]

В сообщении от Понедельник 22 марта 2010 01:47:55 автор Enrico Scholz написал:
> Using an 'rm -rf $dir' ordering is more portable.
> 
> Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>

Acked-by: Roman I Khimov <khimov@altell.ru>

-- 
 http://roman.khimov.ru
mailto: roman@khimov.ru
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.