diff options
author | Theo Chatzimichos <tampakrap@gentoo.org> | 2010-12-29 16:38:50 +0000 |
---|---|---|
committer | Theo Chatzimichos <tampakrap@gentoo.org> | 2010-12-29 16:38:50 +0000 |
commit | c9b9fb829691529f3277e7198f181a5d04e1d4bc (patch) | |
tree | a41b37ed8f7cb7f67bd864d0b0fb120a35f6e65f /eclass | |
parent | x86 stable per bug 349906 (diff) | |
download | gentoo-2-c9b9fb829691529f3277e7198f181a5d04e1d4bc.tar.gz gentoo-2-c9b9fb829691529f3277e7198f181a5d04e1d4bc.tar.bz2 gentoo-2-c9b9fb829691529f3277e7198f181a5d04e1d4bc.zip |
Catch unpacking errors with die, fixes bug 338397
Move kde overlay commits b0b8623840b2ac1bf8a29f869c1fbbe30ebdcc6c and f353c08c2b2d3ee444986458bca836b2922dad02 written by dilfridge
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kde4-meta.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/kde4-meta.eclass b/eclass/kde4-meta.eclass index 24a36f80890d..676f13c8713b 100644 --- a/eclass/kde4-meta.eclass +++ b/eclass/kde4-meta.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.44 2010/12/02 21:49:54 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.45 2010/12/29 16:38:50 tampakrap Exp $ # # @ECLASS: kde4-meta.eclass # @MAINTAINER: @@ -245,8 +245,8 @@ kde4-meta_src_extract() { extractlist+=" $(__list_needed_subdirectories)" pushd "${WORKDIR}" > /dev/null - [[ -n ${KDE4_STRICTER} ]] && echo tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist} >&2 - tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist} 2> /dev/null + [[ -n ${KDE4_STRICTER} ]] && echo tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist} + tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist} || ewarn "tar extract command failed at least partially - continuing anyway" # Default $S is based on $P; rename the extracted directory to match $S if necessary mv ${topdir} ${P} || die "Died while moving \"${topdir}\" to \"${P}\"" |