From a16513c285a5b53a4426792bc6f83ffa0ebcb94b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 21 Jan 2010 06:07:02 +0000 Subject: add a die check to the tar unpacking step --- eclass/vmware.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass') diff --git a/eclass/vmware.eclass b/eclass/vmware.eclass index 33532adf9da4..0c058cfd5b19 100644 --- a/eclass/vmware.eclass +++ b/eclass/vmware.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vmware.eclass,v 1.31 2008/04/26 13:51:40 ikelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vmware.eclass,v 1.32 2010/01/21 06:07:02 vapier Exp $ # This eclass is for all vmware-* ebuilds in the tree and should contain all # of the common components across the multiple packages. @@ -107,7 +107,7 @@ vmware_src_unpack() { then if [[ -e "${CDROM_ROOT}"/${MY_P}.tar.gz ]] then - tar xzf "${CDROM_ROOT}"/${MY_P}.tar.gz + tar xzf "${CDROM_ROOT}"/${MY_P}.tar.gz || die else unpack "${MY_P}".tar.gz fi -- cgit v1.2.3-65-gdbad