summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}