summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2015-10-25 19:17:42 +0100
committerJulian Ospald <hasufell@gentoo.org>2015-10-25 19:17:42 +0100
commit83cd0574e1b3f5b23499767ceaff0792f472ff56 (patch)
treefefdca707f39fca72174067ba7c1153f5549baee /eclass/xorg-2.eclass
parentsci-libs/scipy: Version Bump (diff)
downloadgentoo-83cd0574e1b3f5b23499767ceaff0792f472ff56.tar.gz
gentoo-83cd0574e1b3f5b23499767ceaff0792f472ff56.tar.bz2
gentoo-83cd0574e1b3f5b23499767ceaff0792f472ff56.zip
xorg-2.eclass: add missing '|| die' on pushd/popd
Reviewed-By: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/xorg-2.eclass')
-rw-r--r--eclass/xorg-2.eclass4
1 files changed, 2 insertions, 2 deletions
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