diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-04-02 02:18:15 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-04-02 02:18:15 +0000 |
commit | 793e95c8c00600c55033e0170cdfe2d5012e6694 (patch) | |
tree | a19cd8274315e66b9012572ebbc7a21987814996 | |
parent | Initial commit. Preperation for monodevelop hitting portage. (Manifest recommit) (diff) | |
download | gentoo-2-793e95c8c00600c55033e0170cdfe2d5012e6694.tar.gz gentoo-2-793e95c8c00600c55033e0170cdfe2d5012e6694.tar.bz2 gentoo-2-793e95c8c00600c55033e0170cdfe2d5012e6694.zip |
Cleaning up games_ut_unpack. Seems like a good time since everything is masked... ;]
-rw-r--r-- | eclass/games.eclass | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass index 98d2eb8fd175..6459abd88982 100644 --- a/eclass/games.eclass +++ b/eclass/games.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.60 2004/03/31 23:45:27 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.61 2004/04/02 02:18:15 wolf31o2 Exp $ # # devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org # @@ -143,19 +143,15 @@ games_ut_unpack() { die "You must provide an argument to games_ut_unpack" fi if [ -f "${ut_unpack}" ]; then - ./ucc-bin decompress ${ut_unpack} --nohomedir || die "uncompressing file ${ut_unpack}" + ./ucc-bin decompress ${ut_unpack} --nohomedir 2>&1 \ + || die "uncompressing file ${ut_unpack}" fi if [ -d "${ut_unpack}" ]; then for f in `find ${ut_unpack} -name '*.uz*' -printf '%f '` ; do - ./ucc-bin decompress ${ut_unpack}/${f} --nohomedir || die "uncompressing file ${f}" - #mv System/${f:0:${#f}-3} ${ut_unpack} || die "moving file ${f} - rm ${ut_unpack}/${f} || die "deleting compressed file ${f}" + ./ucc-bin decompress ${ut_unpack}/${f} --nohomedir 2>&1 \ + || die "uncompressing file ${f}" + rm -f ${ut_unpack}/${f} || die "deleting compressed file ${f}" done - #for f in `find ${ut_unpack} -name '*.uz' -printf '%f '` ; do - # ./ucc-bin decompress ${ut_unpack}/${f} --nohomedir || die "uncompressing file ${f}" - # mv System/${f:0:${#f}-4} ${ut_unpack} || die "moving file ${f}" - # rm ${ut_unpack}/${f} || die "deleting compressed file ${f}" - #done fi } |