aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Gilroy <michael.gilroy24@gmail.com>2017-06-14 04:42:16 +0000
committerMichael Gilroy <michael.gilroy24@gmail.com>2017-06-14 04:42:16 +0000
commit60936510f4db99845666fe8bd7d59f523175430c (patch)
tree42f662c8f031ed004c35974a6da0e7d36971ed3c
parentMerge pull request #1 from gilroy/dev (diff)
downloadgentoo-mpi-60936510f4db99845666fe8bd7d59f523175430c.tar.gz
gentoo-mpi-60936510f4db99845666fe8bd7d59f523175430c.tar.bz2
gentoo-mpi-60936510f4db99845666fe8bd7d59f523175430c.zip
fixed mv issues with docs
-rw-r--r--eclass/mpi-providers.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/mpi-providers.eclass b/eclass/mpi-providers.eclass
index 405d025..6277541 100644
--- a/eclass/mpi-providers.eclass
+++ b/eclass/mpi-providers.eclass
@@ -25,12 +25,14 @@ mpi-providers_safe_mv() {
local mpi_root="${ED}/usr/$(get_libdir)/mpi/${PN}-${PVR}"
# move to temp directory
+ mv "${ED}/usr/share/doc" "${T}/DOCS" || die "mv failed"
mv "${ED}" "${T}/install" || die "mv failed"
mkdir -p "${mpi_root}"
# move from temp to final destination
mv "${T}/install" "${mpi_root}" || die "mv failed"
- mv "${mpi_root}/usr/share/doc" "${ED}" || die "mv failed"
+ mkdir -p "${ED}/usr/share/doc"
+ 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}" '{}' \+