diff options
author | Jeremy Puhlman <jpuhlman@mvista.com> | 2009-06-16 16:53:41 -0700 |
---|---|---|
committer | Chris Larson <clarson@mvista.com> | 2009-08-19 14:54:31 -0700 |
commit | 7ab4382774acd717e4dfe85ba74d06851dfb5247 (patch) | |
tree | adfdb181f58bfae931aa13e0030d0a3edd94e70b /classes | |
parent | a6a23f7369bf725b6acdf45a42967558b2221659 (diff) |
src_distribute_local: Change cp -f to cp -fr to account for directories.
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Chris Larson <clarson@mvista.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/src_distribute_local.bbclass | 2 |
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 |