commit:     1d679210db40b67f526461e7795eb0fbb3ef33ad
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 25 17:15:12 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Mar 25 17:15:12 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=1d679210

sci-chemistry/mgltools-gle: Add missing die

Package-Manager: portage-2.2.18

 sci-chemistry/mgltools-gle/ChangeLog                 | 3 +++
 sci-chemistry/mgltools-gle/mgltools-gle-1.5.6.ebuild | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/sci-chemistry/mgltools-gle/ChangeLog 
b/sci-chemistry/mgltools-gle/ChangeLog
index 8a7ac42..2352291 100644
--- a/sci-chemistry/mgltools-gle/ChangeLog
+++ b/sci-chemistry/mgltools-gle/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  25 Mar 2015; Justin Lecher <[email protected]> mgltools-gle-1.5.6.ebuild:
+  sci-chemistry/mgltools-gle: Add missing die
+
   25 Mar 2015; Justin Lecher <[email protected]>
   +files/mgltools-gle-1.5.6-swig.patch, mgltools-gle-1.5.6.ebuild:
   sci-chemistry/mgltools-gle: Add fix for newer swig

diff --git a/sci-chemistry/mgltools-gle/mgltools-gle-1.5.6.ebuild 
b/sci-chemistry/mgltools-gle/mgltools-gle-1.5.6.ebuild
index 90d8db8..9463686 100644
--- a/sci-chemistry/mgltools-gle/mgltools-gle-1.5.6.ebuild
+++ b/sci-chemistry/mgltools-gle/mgltools-gle-1.5.6.ebuild
@@ -28,8 +28,8 @@ DEPEND="${RDEPEND}
 S="${WORKDIR}"/${MY_P}
 
 src_unpack() {
-       tar xzpf "${DISTDIR}"/${A} 
mgltools_source_${PV/_/}/MGLPACKS/${MY_P}.tar.gz
-       tar xzpf mgltools_source_${PV/_/}/MGLPACKS/${MY_P}.tar.gz
+       tar xzpf "${DISTDIR}"/${A} 
mgltools_source_${PV/_/}/MGLPACKS/${MY_P}.tar.gz || die
+       tar xzpf mgltools_source_${PV/_/}/MGLPACKS/${MY_P}.tar.gz || die
 }
 
 python_prepare_all() {

Reply via email to