summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2010-08-31 17:04:48 +0000
committerTristan Heaven <tristan@gentoo.org>2010-08-31 17:04:48 +0000
commitcae79a5bc7af120c8bb7f7472d6756e2999accbe (patch)
treecdbde8f4651ece93a5c8b8a8759f44ec550bc32e /eclass
parentRespect LDFLAGS, bug #335437. (diff)
downloadhistorical-cae79a5bc7af120c8bb7f7472d6756e2999accbe.tar.gz
historical-cae79a5bc7af120c8bb7f7472d6756e2999accbe.tar.bz2
historical-cae79a5bc7af120c8bb7f7472d6756e2999accbe.zip
games_ut_unpack: let's see uz2unpack output
Diffstat (limited to 'eclass')
-rw-r--r--eclass/games.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index 5f8300a5f90f..4deff1a044f9 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.141 2010/01/03 19:13:44 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.142 2010/08/31 17:04:48 nyhm Exp $
# devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org -> games@gentoo.org
#
@@ -192,12 +192,12 @@ games_ut_unpack() {
die "You must provide an argument to games_ut_unpack"
fi
if [[ -f ${ut_unpack} ]] ; then
- uz2unpack "${ut_unpack}" "${ut_unpack/.uz2/}" &>/dev/null \
+ uz2unpack "${ut_unpack}" "${ut_unpack%.uz2}" \
|| die "uncompressing file ${ut_unpack}"
fi
if [[ -d ${ut_unpack} ]] ; then
while read f ; do
- uz2unpack "${ut_unpack}/${f}" "${ut_unpack}/${f%.uz2}" &>/dev/null \
+ uz2unpack "${ut_unpack}/${f}" "${ut_unpack}/${f%.uz2}" \
|| die "uncompressing file ${f}"
rm -f "${ut_unpack}/${f}" || die "deleting compressed file ${f}"
done < <(find "${ut_unpack}" -maxdepth 1 -name '*.uz2' -printf '%f\n' 2>/dev/null)