summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-01-21 06:07:02 +0000
committerMike Frysinger <vapier@gentoo.org>2010-01-21 06:07:02 +0000
commit928ff9c5ff53e72ec3971a192b2819dfd288bcde (patch)
tree512b092d978272518b1199de80b1599a8f7650f9
parentadd a die check to the tar unpacking step (diff)
downloadgentoo-2-928ff9c5ff53e72ec3971a192b2819dfd288bcde.tar.gz
gentoo-2-928ff9c5ff53e72ec3971a192b2819dfd288bcde.tar.bz2
gentoo-2-928ff9c5ff53e72ec3971a192b2819dfd288bcde.zip
add a die check to the tar unpacking step
-rw-r--r--eclass/vmware.eclass4
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