x11-misc/rodent: die when pushd/popd fails
authorChristoph Mende <angelos@gentoo.org>
Thu, 8 Oct 2015 03:55:55 +0000 (05:55 +0200)
committerChristoph Mende <angelos@gentoo.org>
Thu, 8 Oct 2015 03:56:04 +0000 (05:56 +0200)
Package-Manager: portage-2.2.22

x11-misc/rodent/rodent-5.3.16.3.ebuild

index 02849b505f666cd7e98477c3b72b555c0b79b071..42048449d8fbb4b2b804f3eb0ef16ca57b0be6c3 100644 (file)
@@ -24,9 +24,9 @@ pkg_setup() {
 }
 
 src_prepare() {
-       pushd apps/rodent-pkg >/dev/null
+       pushd apps/rodent-pkg >/dev/null || die
        sed -i -e "/^install-data-hook/d" \
                -e "/rm -f/d" Build/Makefile.am || die
        eautoreconf
-       popd >/dev/null
+       popd >/dev/null || die
 }