[oe-commits] Jeremy Puhlman : src_distribute_local: Change cp -f to cp -fr to account for directories.
git version control
git at git.openembedded.org
Wed Aug 19 21:57:06 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 7ab4382774acd717e4dfe85ba74d06851dfb5247
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7ab4382774acd717e4dfe85ba74d06851dfb5247
Author: Jeremy Puhlman <jpuhlman at mvista.com>
Date: Tue Jun 16 16:53:41 2009 -0700
src_distribute_local: Change cp -f to cp -fr to account for directories.
Signed-off-by: Jeremy Puhlman <jpuhlman at mvista.com>
Signed-off-by: Chris Larson <clarson at mvista.com>
---
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 ed58ed1..5cec288 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
More information about the Openembedded-commits
mailing list