mail-client/mutt: add some || die()s, thanks jer, bug #647182
authorFabian Groffen <grobian@gentoo.org>
Sat, 10 Feb 2018 15:26:07 +0000 (16:26 +0100)
committerFabian Groffen <grobian@gentoo.org>
Sat, 10 Feb 2018 15:26:22 +0000 (16:26 +0100)
Bug: https://bugs.gentoo.org/647182
Package-Manager: Portage-2.3.19, Repoman-2.3.6

mail-client/mutt/mutt-1.9.3.ebuild

index ec439e8432679393a70bf09b2ad73313a78b233e..8e0ba27771fc3c45ce04757f2e39790a968ae2d4 100644 (file)
@@ -114,8 +114,7 @@ src_prepare() {
 
        # the configure script contains some "cleverness" whether or not to setgid
        # the dotlock program, resulting in bugs like #278332
-       sed -i -e 's/@DOTLOCK_GROUP@//' \
-               Makefile.in || die "sed failed"
+       sed -i -e 's/@DOTLOCK_GROUP@//' Makefile.in || die "sed failed"
 }
 
 src_configure() {
@@ -229,8 +228,8 @@ src_install() {
                        -e 's#in @docdir@,#at http://www.mutt.org/,#' \
                        -e "s#@sysconfdir@#${EPREFIX}/etc/${PN}#" \
                        -e "s#@bindir@#${EPREFIX}/usr/bin#" \
-                       doc/mutt.man > mutt.1
-               cp doc/muttrc.man muttrc.5
+                       doc/mutt.man > mutt.1 || die
+               cp doc/muttrc.man muttrc.5 || die
                doman mutt.1 muttrc.5
        else
                # nuke manpages that should be provided by an MTA, bug #177605