summaryrefslogtreecommitdiff
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 45812bbb81..2ec7d305f2 100644
--- a/classes/rm_work.bbclass
+++ b/classes/rm_work.bbclass
@@ -14,7 +14,7 @@ do_rm_work () {
for dir in *
do
if [ `basename ${S}` = $dir ]; then
- rm -rf $dir/*
+ rm -rf $dir
elif [ $dir != 'temp' ]; then
rm -rf $dir
fi