From: Julian Ospald Date: Sun, 25 Oct 2015 18:17:42 +0000 (+0100) Subject: xorg-2.eclass: add missing '|| die' on pushd/popd X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=83cd0574e1b3f5b23499767ceaff0792f472ff56;p=gentoo.git xorg-2.eclass: add missing '|| die' on pushd/popd Reviewed-By: Michał Górny --- diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass index 91b83aea0eed..437265a9eaa8 100644 --- a/eclass/xorg-2.eclass +++ b/eclass/xorg-2.eclass @@ -516,9 +516,9 @@ xorg-2_src_install() { fi if [[ -n ${GIT_ECLASS} ]]; then - pushd "${EGIT_STORE_DIR}/${EGIT_CLONE_DIR}" > /dev/null + pushd "${EGIT_STORE_DIR}/${EGIT_CLONE_DIR}" > /dev/null || die git log ${EGIT_COMMIT} > "${S}"/ChangeLog - popd > /dev/null + popd > /dev/null || die fi if [[ -e "${S}"/ChangeLog ]]; then