diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-01-21 06:07:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-01-21 06:07:02 +0000 |
commit | a16513c285a5b53a4426792bc6f83ffa0ebcb94b (patch) | |
tree | d77016cf2e926673187dc5860d162a0602c4ff5b /eclass | |
parent | add a die check to the tar unpacking step (diff) | |
download | historical-a16513c285a5b53a4426792bc6f83ffa0ebcb94b.tar.gz historical-a16513c285a5b53a4426792bc6f83ffa0ebcb94b.tar.bz2 historical-a16513c285a5b53a4426792bc6f83ffa0ebcb94b.zip |
add a die check to the tar unpacking step
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/vmware.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
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 |