aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/mpi-providers.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/mpi-providers.eclass b/eclass/mpi-providers.eclass
index 6277541..705876c 100644
--- a/eclass/mpi-providers.eclass
+++ b/eclass/mpi-providers.eclass
@@ -35,7 +35,8 @@ mpi-providers_safe_mv() {
mv "${T}/DOCS" "${ED}/usr/share/doc" ||die "mv failed"
cd "${mpi_root}/etc"
- find -O3 -mindepth 1 -maxdepth 1 ! -path "./${PF}*" -execdir cp -a -t "${PF}" '{}' \+
+ local etcdirs=$(find -O3 -mindepth 1 -maxdepth 1 ! -path "./${PF}*") || die
+ cp -t "${ED}"/etc/"${PN}"-"${PVR}" "${etcdirs}" || die
}