Gentoo Archives: gentoo-commits

From: Julian Ospald <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 25 Oct 2015 18:19:03
Message-Id: 1445797062.83cd0574e1b3f5b23499767ceaff0792f472ff56.hasufell@gentoo
1 commit: 83cd0574e1b3f5b23499767ceaff0792f472ff56
2 Author: Julian Ospald <hasufell <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 25 18:17:42 2015 +0000
4 Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 25 18:17:42 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83cd0574
7
8 xorg-2.eclass: add missing '|| die' on pushd/popd
9
10 Reviewed-By: Michał Górny <mgorny <AT> gentoo.org>
11
12 eclass/xorg-2.eclass | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass
16 index 91b83ae..437265a 100644
17 --- a/eclass/xorg-2.eclass
18 +++ b/eclass/xorg-2.eclass
19 @@ -516,9 +516,9 @@ xorg-2_src_install() {
20 fi
21
22 if [[ -n ${GIT_ECLASS} ]]; then
23 - pushd "${EGIT_STORE_DIR}/${EGIT_CLONE_DIR}" > /dev/null
24 + pushd "${EGIT_STORE_DIR}/${EGIT_CLONE_DIR}" > /dev/null || die
25 git log ${EGIT_COMMIT} > "${S}"/ChangeLog
26 - popd > /dev/null
27 + popd > /dev/null || die
28 fi
29
30 if [[ -e "${S}"/ChangeLog ]]; then