summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg/nwn')
-rw-r--r--games-rpg/nwn/ChangeLog5
-rw-r--r--games-rpg/nwn/nwn-1.66.ebuild15
2 files changed, 13 insertions, 7 deletions
diff --git a/games-rpg/nwn/ChangeLog b/games-rpg/nwn/ChangeLog
index 8f61016fd991..8318cc69bc8b 100644
--- a/games-rpg/nwn/ChangeLog
+++ b/games-rpg/nwn/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-rpg/nwn
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.35 2006/01/23 15:04:08 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.36 2006/03/15 22:53:29 wolf31o2 Exp $
+
+ 15 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org> nwn-1.66.ebuild:
+ Fixing unpacking for bug #125979.
23 Jan 2006; Chris Gianelloni <wolf31o2@gentoo.org> -files/nwn.png,
nwn-1.66.ebuild:
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})