aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/rm_work.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rm_work.bbclass b/classes/rm_work.bbclass
index a53d12baf3..0857f49852 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
}