commit:     c4939084a1c018e5e50c7b91fdc899093227a7df
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 11 00:13:27 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 11 00:29:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4939084

sys-cluster/mpe2: fix VariableScope (ROOT)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/mpe2/mpe2-1.0.6_p1-r2.ebuild | 6 +++---
 1 file 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 fe48a351a0c..71802728bcb 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}

Reply via email to