diff options
author | Julian Ospald <hasufell@gentoo.org> | 2015-10-25 19:17:42 +0100 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2015-10-25 19:17:42 +0100 |
commit | 83cd0574e1b3f5b23499767ceaff0792f472ff56 (patch) | |
tree | fefdca707f39fca72174067ba7c1153f5549baee /eclass | |
parent | f7fa28854faef51e8d66fdf1c51395752a285640 (diff) | |
download | gentoo-83cd0574e1b3f5b23499767ceaff0792f472ff56.tar.gz gentoo-83cd0574e1b3f5b23499767ceaff0792f472ff56.tar.xz |
xorg-2.eclass: add missing '|| die' on pushd/popd
Reviewed-By: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/xorg-2.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass index 91b83aea0ee..437265a9eaa 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 |