aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichaelJGilroy <michael.gilroy24@gmail.com>2017-06-05 10:00:30 -0600
committerMichaelJGilroy <michael.gilroy24@gmail.com>2017-06-05 10:00:30 -0600
commit13e75b556b045e6c7cf373db08ea08b6d83ee80e (patch)
tree015ee4e14aee02f219af14026f46ff6f51cd7075 /eclass
parentinstalling to EPREFIX/etc/* now (diff)
downloadgentoo-mpi-13e75b556b045e6c7cf373db08ea08b6d83ee80e.tar.gz
gentoo-mpi-13e75b556b045e6c7cf373db08ea08b6d83ee80e.tar.bz2
gentoo-mpi-13e75b556b045e6c7cf373db08ea08b6d83ee80e.zip
trying new mv directroy
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mpi-providers.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/mpi-providers.eclass b/eclass/mpi-providers.eclass
index b1af938..410cb96 100644
--- a/eclass/mpi-providers.eclass
+++ b/eclass/mpi-providers.eclass
@@ -18,8 +18,8 @@ SLOT="${PVR}"
mpi-providers_safe_mv() {
DEST="$1/etc/"
if [[ ! -d "$DEST" ]]; then
- mkdir "$DEST" || die
+ mkdir -p "$DEST" || die
fi
- mv "$1/*" "$DEST/$PN-$PVR/." || die
+ mv "$S/*" "$DEST/$PN-$PVR/." || die "could not mv $S to $DEST/$PN-$PVR/."
}