commit:     83cd0574e1b3f5b23499767ceaff0792f472ff56
Author:     Julian Ospald <hasufell <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 25 18:17:42 2015 +0000
Commit:     Julian Ospald <hasufell <AT> gentoo <DOT> org>
CommitDate: Sun Oct 25 18:17:42 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83cd0574

xorg-2.eclass: add missing '|| die' on pushd/popd

Reviewed-By: Michał Górny <mgorny <AT> gentoo.org>

 eclass/xorg-2.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass
index 91b83ae..437265a 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

Reply via email to