1 |
commit: 7adffa3687e1abf7ee24b096b8ab2f39a7ee32b9 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 19 07:57:56 2015 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 19 14:10:14 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7adffa36 |
7 |
|
8 |
multibuild.eclass: _copy_sources(), use 'cp -R' for BSD compat, #568692 |
9 |
|
10 |
Use 'cp -R' for multibuild_copy_sources() as the '-r' option triggers |
11 |
triggers undesired '-L' behavior wrt symbolic links. |
12 |
|
13 |
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=568692 |
14 |
|
15 |
eclass/multibuild.eclass | 2 +- |
16 |
1 file changed, 1 insertion(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/eclass/multibuild.eclass b/eclass/multibuild.eclass |
19 |
index d21008c..3d05f46 100644 |
20 |
--- a/eclass/multibuild.eclass |
21 |
+++ b/eclass/multibuild.eclass |
22 |
@@ -195,7 +195,7 @@ multibuild_copy_sources() { |
23 |
|
24 |
_multibuild_create_source_copy() { |
25 |
einfo "${MULTIBUILD_VARIANT}: copying to ${BUILD_DIR}" |
26 |
- cp -pr "${cp_args[@]}" \ |
27 |
+ cp -p -R "${cp_args[@]}" \ |
28 |
"${_MULTIBUILD_INITIAL_BUILD_DIR}" "${BUILD_DIR}" || die |
29 |
} |