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