aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/src_distribute_local.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/src_distribute_local.bbclass b/classes/src_distribute_local.bbclass
index ed58ed14e1..5cec2880aa 100644
--- a/classes/src_distribute_local.bbclass
+++ b/classes/src_distribute_local.bbclass
@@ -13,7 +13,7 @@ SRC_DISTRIBUTECOMMAND-symlink () {
# copies the files to the SRC_DISTRIBUTEDIR
SRC_DISTRIBUTECOMMAND-copy () {
test -e ${SRC}.md5 && cp -f ${SRC}.md5 .
- cp -f ${SRC} .
+ cp -fr ${SRC} .
}
# moves the files to the SRC_DISTRIBUTEDIR and symlinks them back