commit:     08459587b680ea8cb2d9bf8216c0eccd78458238
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Nov 29 21:56:34 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Nov 29 21:56:34 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=08459587

sys-cluster/mpe2: Add missing die

---
 sys-cluster/mpe2/mpe2-1.3.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/mpe2/mpe2-1.3.0.ebuild 
b/sys-cluster/mpe2/mpe2-1.3.0.ebuild
index b76e7ad..a1728a7 100644
--- a/sys-cluster/mpe2/mpe2-1.3.0.ebuild
+++ b/sys-cluster/mpe2/mpe2-1.3.0.ebuild
@@ -68,7 +68,7 @@ pkg_setup() {
 
 src_prepare() {
        # Don't assume path contains ./
-       sed -i 's,\($MPERUN\) $pgm,\1 ./$pgm,' sbin/mpetestexeclog.in
+       sed -i 's,\($MPERUN\) $pgm,\1 ./$pgm,' sbin/mpetestexeclog.in || die
 }
 
 src_configure() {
@@ -105,7 +105,7 @@ src_configure() {
 src_test() {
        local rc
 
-       cd "${S}"
+       cd "${S}" || die
        if [[ "${MPE_IMP}" == mpich2 ]]; then
                echo "MPD_SECRETWORD=junk" > "${T}"/mpd.conf
                chmod 600 "${T}"/mpd.conf

Reply via email to