summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-12-19 08:57:56 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-19 15:10:14 +0100
commit7adffa3687e1abf7ee24b096b8ab2f39a7ee32b9 (patch)
treeef4a6eff27927ed31009440624bdf6110a84675b /eclass
parentnet-wireless/gnuradio: version bump to 3.7.8.1 (diff)
downloadgentoo-7adffa3687e1abf7ee24b096b8ab2f39a7ee32b9.tar.gz
gentoo-7adffa3687e1abf7ee24b096b8ab2f39a7ee32b9.tar.bz2
gentoo-7adffa3687e1abf7ee24b096b8ab2f39a7ee32b9.zip
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
Diffstat (limited to 'eclass')
-rw-r--r--eclass/multibuild.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/multibuild.eclass b/eclass/multibuild.eclass
index d21008cf2666..3d05f46d2a03 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
}