x11-misc/rodent: die when pushd/popd fails

Package-Manager: portage-2.2.22
This commit is contained in:
Christoph Mende
2015-10-08 05:55:55 +02:00
parent 5bd8c216ef
commit ce8e88bf55

View 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
}