[oe-commits] Enrico Scholz : rm_work.bbclass: reordered 'rm $dir -rf' arguments

git version control git at git.openembedded.org
Mon Mar 22 16:06:49 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 3510d2ed15a4b477aa7af802a839e11a87b981ed
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3510d2ed15a4b477aa7af802a839e11a87b981ed

Author: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
Date:   Sun Mar 21 12:47:55 2010 +0000

rm_work.bbclass: reordered 'rm $dir -rf' arguments

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

Signed-off-by: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
Acked-by: Roman I Khimov <khimov at altell.ru>
Signed-off-by: Holger Hans Peter Freyther <zecke at selfish.org>

---

 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
 }





More information about the Openembedded-commits mailing list