diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2008-02-15 00:15:51 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2008-02-15 00:15:51 +0000 |
commit | 0f731848d9d7f22e4f7b8a4614226fb22abbbdfa (patch) | |
tree | 57b9fe607942b2100bb44bfa829defe964e1d5f2 /eclass/games.eclass | |
parent | Fixed security bug in internal copy to tk (bug #208464), removed older affect... (diff) | |
download | gentoo-2-0f731848d9d7f22e4f7b8a4614226fb22abbbdfa.tar.gz gentoo-2-0f731848d9d7f22e4f7b8a4614226fb22abbbdfa.tar.bz2 gentoo-2-0f731848d9d7f22e4f7b8a4614226fb22abbbdfa.zip |
fix quoting in games_umod_unpack
Diffstat (limited to 'eclass/games.eclass')
-rw-r--r-- | eclass/games.eclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass index 5046c73aa8fb..c2f727e800aa 100644 --- a/eclass/games.eclass +++ b/eclass/games.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# 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.123 2007/11/06 22:38:13 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.124 2008/02/15 00:15:51 nyhm Exp $ # devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org -> games@gentoo.org # @@ -218,13 +218,13 @@ games_ut_unpack() { # Unpacks .umod/.ut2mod/.ut4mod files for UT/UT2003/UT2004 # Usage: games_umod_unpack $1 +# oh, and don't forget to set 'dir' and 'Ddir' games_umod_unpack() { local umod=$1 - mkdir -p "${Ddir}/System" - cp "${dir}"/System/{ucc-bin,{Manifest,Def{ault,User}}.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int} ${Ddir}/System - export UT_DATA_PATH="${Ddir}/System" - cd "${UT_DATA_PATH}" - ./ucc-bin umodunpack -x "${S}/${umod}" -nohomedir &> /dev/null \ + mkdir -p "${Ddir}"/System + cp "${dir}"/System/{ucc-bin,{Manifest,Def{ault,User}}.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int} "${Ddir}"/System + cd "${Ddir}"/System + UT_DATA_PATH=${Ddir}/System ./ucc-bin umodunpack -x "${S}/${umod}" -nohomedir &> /dev/null \ || die "uncompressing file ${umod}" rm -f "${Ddir}"/System/{ucc-bin,{Manifest,Def{ault,User},User,UT200{3,4}}.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int,ucc.log} &>/dev/null \ || die "Removing temporary files" |