summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-11 00:13:27 +0000
committerSam James <sam@gentoo.org>2021-06-11 00:29:08 +0000
commitc4939084a1c018e5e50c7b91fdc899093227a7df (patch)
treee17f68713c0d2d7764689a7c70da306ec3124097 /sys-cluster/mpe2
parentsys-cluster/sanlock: fix VariableScope (EROOT) (diff)
downloadgentoo-c4939084a1c018e5e50c7b91fdc899093227a7df.tar.gz
gentoo-c4939084a1c018e5e50c7b91fdc899093227a7df.tar.bz2
gentoo-c4939084a1c018e5e50c7b91fdc899093227a7df.zip
sys-cluster/mpe2: fix VariableScope (ROOT)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-cluster/mpe2')
-rw-r--r--sys-cluster/mpe2/mpe2-1.0.6_p1-r2.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-cluster/mpe2/mpe2-1.0.6_p1-r2.ebuild b/sys-cluster/mpe2/mpe2-1.0.6_p1-r2.ebuild
index fe48a351a0c8..71802728bcba 100644
--- a/sys-cluster/mpe2/mpe2-1.0.6_p1-r2.ebuild
+++ b/sys-cluster/mpe2/mpe2-1.0.6_p1-r2.ebuild
@@ -123,7 +123,7 @@ src_test() {
echo "MPD_SECRETWORD=junk" > "${T}"/mpd.conf || die
chmod 600 "${T}"/mpd.conf || die
export MPD_CONF_FILE="${T}/mpd.conf"
- "${ROOT}"usr/bin/mpd -d --pidfile="${T}"/mpd.pid || die
+ "${EPREFIX%/}"/usr/bin/mpd -d --pidfile="${T}"/mpd.pid || die
elif [[ "${MPE_IMP}" == openmpi* ]] && [ -z "${MPE2_FORCE_OPENMPI_TEST}" ]; then
echo
einfo "Skipping tests for openmpi"
@@ -136,12 +136,12 @@ src_test() {
emake -j1 \
CC="${S}"/bin/mpecc \
FC="${S}"/bin/mpefc \
- MPERUN="${ROOT}/usr/bin/mpiexec -n 4" \
+ MPERUN="${EPREFIX%/}/usr/bin/mpiexec -n 4" \
CLOG2TOSLOG2="${S}/src/slog2sdk/bin/clog2TOslog2" \
check;
rc=${?}
if [[ "${MPE_IMP}" == mpich2 ]]; then
- "${ROOT}"usr/bin/mpdallexit || kill $(<"${T}"/mpd.pid)
+ "${EPREFIX%/}"/usr/bin/mpdallexit || kill $(<"${T}"/mpd.pid)
fi
return ${rc}