commit: c5567ca2bdb7e12514c98ab6dd88607acd797efe
Author: Julian Ospald <hasufell <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 26 21:35:28 2015 +0000
Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org>
CommitDate: Mon Oct 26 21:35:52 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5567ca2
intel-sdp.eclass: add missing '|| die' on pushd/popd
Reviewed-By: Justin Lecher <jlec <AT> gentoo.org>
eclass/intel-sdp.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass
index 1366717..00e52a0 100644
--- a/eclass/intel-sdp.eclass
+++ b/eclass/intel-sdp.eclass
@@ -172,7 +172,7 @@ QA_PREBUILT="${INTEL_SDP_DIR}/*"
# Creating necessary links to use intel compiler with eclipse
_isdp_link_eclipse_plugins() {
local c f
- pushd ${INTEL_SDP_DIR}/eclipse_support > /dev/null
+ pushd ${INTEL_SDP_DIR}/eclipse_support > /dev/null || die
for c in cdt*; do
local cv=${c#cdt} ev=3.$(( ${cv:0:1} - 1))
if has_version "dev-util/eclipse-sdk:${ev}"; then
@@ -189,7 +189,7 @@ _isdp_link_eclipse_plugins() {
done
fi
done
- popd > /dev/null
+ popd > /dev/null || die
}
# @FUNCTION: _isdp_big-warning