Skip to content

Commit

Permalink
xorg-2.eclass: add missing '|| die' on pushd/popd
Browse files Browse the repository at this point in the history
Reviewed-By: Michał Górny <[email protected]>
  • Loading branch information
Julian Ospald committed Oct 25, 2015
1 parent f7fa288 commit 83cd057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eclass/xorg-2.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83cd057

Please sign in to comment.