From 7ab4382774acd717e4dfe85ba74d06851dfb5247 Mon Sep 17 00:00:00 2001 From: Jeremy Puhlman Date: Tue, 16 Jun 2009 16:53:41 -0700 Subject: [PATCH] src_distribute_local: Change cp -f to cp -fr to account for directories. Signed-off-by: Jeremy Puhlman Signed-off-by: Chris Larson --- classes/src_distribute_local.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5