Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: games.eclass
Date: Tue, 31 Aug 2010 17:05:00
Message-Id: 20100831170448.6D59D20051@flycatcher.gentoo.org
1 nyhm 10/08/31 17:04:48
2
3 Modified: games.eclass
4 Log:
5 games_ut_unpack: let's see uz2unpack output
6
7 Revision Changes Path
8 1.142 eclass/games.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/games.eclass?rev=1.142&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/games.eclass?rev=1.142&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/games.eclass?r1=1.141&r2=1.142
13
14 Index: games.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/games.eclass,v
17 retrieving revision 1.141
18 retrieving revision 1.142
19 diff -u -r1.141 -r1.142
20 --- games.eclass 3 Jan 2010 19:13:44 -0000 1.141
21 +++ games.eclass 31 Aug 2010 17:04:48 -0000 1.142
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2008 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.141 2010/01/03 19:13:44 scarabeus Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.142 2010/08/31 17:04:48 nyhm Exp $
27
28 # devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org -> games@g.o
29 #
30 @@ -192,12 +192,12 @@
31 die "You must provide an argument to games_ut_unpack"
32 fi
33 if [[ -f ${ut_unpack} ]] ; then
34 - uz2unpack "${ut_unpack}" "${ut_unpack/.uz2/}" &>/dev/null \
35 + uz2unpack "${ut_unpack}" "${ut_unpack%.uz2}" \
36 || die "uncompressing file ${ut_unpack}"
37 fi
38 if [[ -d ${ut_unpack} ]] ; then
39 while read f ; do
40 - uz2unpack "${ut_unpack}/${f}" "${ut_unpack}/${f%.uz2}" &>/dev/null \
41 + uz2unpack "${ut_unpack}/${f}" "${ut_unpack}/${f%.uz2}" \
42 || die "uncompressing file ${f}"
43 rm -f "${ut_unpack}/${f}" || die "deleting compressed file ${f}"
44 done < <(find "${ut_unpack}" -maxdepth 1 -name '*.uz2' -printf '%f\n' 2>/dev/null)