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: Mon, 26 Oct 2015 21:36:15
Message-Id: 1445895352.c5567ca2bdb7e12514c98ab6dd88607acd797efe.hasufell@gentoo
1 commit: c5567ca2bdb7e12514c98ab6dd88607acd797efe
2 Author: Julian Ospald <hasufell <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 26 21:35:28 2015 +0000
4 Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 26 21:35:52 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5567ca2
7
8 intel-sdp.eclass: add missing '|| die' on pushd/popd
9
10 Reviewed-By: Justin Lecher <jlec <AT> gentoo.org>
11
12 eclass/intel-sdp.eclass | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass
16 index 1366717..00e52a0 100644
17 --- a/eclass/intel-sdp.eclass
18 +++ b/eclass/intel-sdp.eclass
19 @@ -172,7 +172,7 @@ QA_PREBUILT="${INTEL_SDP_DIR}/*"
20 # Creating necessary links to use intel compiler with eclipse
21 _isdp_link_eclipse_plugins() {
22 local c f
23 - pushd ${INTEL_SDP_DIR}/eclipse_support > /dev/null
24 + pushd ${INTEL_SDP_DIR}/eclipse_support > /dev/null || die
25 for c in cdt*; do
26 local cv=${c#cdt} ev=3.$(( ${cv:0:1} - 1))
27 if has_version "dev-util/eclipse-sdk:${ev}"; then
28 @@ -189,7 +189,7 @@ _isdp_link_eclipse_plugins() {
29 done
30 fi
31 done
32 - popd > /dev/null
33 + popd > /dev/null || die
34 }
35
36 # @FUNCTION: _isdp_big-warning