diff options
Diffstat (limited to 'games-rpg/nwn/nwn-1.66.ebuild')
-rw-r--r-- | games-rpg/nwn/nwn-1.66.ebuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/games-rpg/nwn/nwn-1.66.ebuild b/games-rpg/nwn/nwn-1.66.ebuild index 25005750defc..17cd22457e28 100644 --- a/games-rpg/nwn/nwn-1.66.ebuild +++ b/games-rpg/nwn/nwn-1.66.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.66.ebuild,v 1.10 2006/01/23 15:04:08 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.66.ebuild,v 1.11 2006/03/15 22:53:29 wolf31o2 Exp $ inherit eutils games @@ -62,12 +62,15 @@ pkg_setup() { } src_unpack() { - mkdir ${S} - cd ${S} + mkdir -p "${S}" + cd "${S}" unpack nwclient129.tar.gz - cd ${WORKDIR} - use nowin && unpack nwresources129.tar.gz - cd ${S} + if use nowin + then + cd "${WORKDIR}" + unpack nwresources129.tar.gz + cd "${S}" + fi rm -rf override/* # the following is so ugly, please pretend it doesnt exist declare -a Aarray=(${A}) |