[oe] [PATCH] rm_work.bbclass: reordered 'rm $dir -rf' arguments
Enrico Scholz
enrico.scholz at informatik.tu-chemnitz.de
Sun Mar 21 22:47:55 UTC 2010
Using an 'rm -rf $dir' ordering is more portable.
Signed-off-by: Enrico Scholz <enrico.scholz at 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
More information about the Openembedded-devel
mailing list