diff options
author | MichaelJGilroy <michael.gilroy24@gmail.com> | 2017-06-19 23:57:14 -0600 |
---|---|---|
committer | MichaelJGilroy <michael.gilroy24@gmail.com> | 2017-06-19 23:57:14 -0600 |
commit | aca81c439725a50a94c8bcd6f350c28d761e3fd5 (patch) | |
tree | c4341b4f6c7595d44251882e42c9e1adb687e55d | |
parent | added non-multilib openmpi ebuild (diff) | |
download | gentoo-mpi-aca81c439725a50a94c8bcd6f350c28d761e3fd5.tar.gz gentoo-mpi-aca81c439725a50a94c8bcd6f350c28d761e3fd5.tar.bz2 gentoo-mpi-aca81c439725a50a94c8bcd6f350c28d761e3fd5.zip |
revised find statement
-rw-r--r-- | eclass/mpi-providers.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/mpi-providers.eclass b/eclass/mpi-providers.eclass index 159d15e..54c1efa 100644 --- a/eclass/mpi-providers.eclass +++ b/eclass/mpi-providers.eclass @@ -34,9 +34,10 @@ mpi-providers_safe_mv() { mkdir -p "${ED}/usr/share/doc" mv "${T}/DOCS" "${ED}/usr/share/doc" ||die "mv failed" - cd "${mpi_root}/etc" + mkdir -p "${ED}/etc/${PF}" + cd "${ED}/etc" - find -O3 -mindepth 1 -maxdepth 1 ! -path "./${PF}*" -execdir cp -a -t "${PF}" '{}' \; || die "find failed" + find -O3 -mindepth 1 -maxdepth 1 ! -path "./${PF}*" | xargs cp -t "${PF}/." || die "failed to cp to ${ED}/etc//" } # @ECLASS-FUNCTION: mpi-providers_sysconfdir |