From: Jeremy Puhlman Date: Tue, 16 Jun 2009 23:53:41 +0000 (-0700) Subject: src_distribute_local: Change cp -f to cp -fr to account for directories. X-Git-Tag: Release-2010-05/1~2644 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ab4382774acd717e4dfe85ba74d06851dfb5247;p=openembedded.git src_distribute_local: Change cp -f to cp -fr to account for directories. Signed-off-by: Jeremy Puhlman Signed-off-by: Chris Larson --- 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