summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2008-03-07 20:15:59 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2008-03-07 20:15:59 +0000
commit3f1af7b715026db11a38d08101ecf1e151d5253d (patch)
treea39261ed2f241441ec2d71103e8c28404c660c17 /games-roguelike
parentQA cleanup: Fix quoting. (diff)
downloadgentoo-2-3f1af7b715026db11a38d08101ecf1e151d5253d.tar.gz
gentoo-2-3f1af7b715026db11a38d08101ecf1e151d5253d.tar.bz2
gentoo-2-3f1af7b715026db11a38d08101ecf1e151d5253d.zip
QA cleanup: Fix quoting.
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/nethack/ChangeLog6
-rw-r--r--games-roguelike/nethack/nethack-3.4.3-r1.ebuild14
2 files changed, 12 insertions, 8 deletions
diff --git a/games-roguelike/nethack/ChangeLog b/games-roguelike/nethack/ChangeLog
index d37b8569af2d..b418d56101f0 100644
--- a/games-roguelike/nethack/ChangeLog
+++ b/games-roguelike/nethack/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-roguelike/nethack
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/nethack/ChangeLog,v 1.27 2008/01/14 20:33:41 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/nethack/ChangeLog,v 1.28 2008/03/07 20:15:59 wolf31o2 Exp $
+
+ 07 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ nethack-3.4.3-r1.ebuild:
+ QA cleanup: Fix quoting.
14 Jan 2008; Fabian Groffen <grobian@gentoo.org> nethack-3.4.3-r1.ebuild:
Dropped ppc-macos keyword, see you in prefix
diff --git a/games-roguelike/nethack/nethack-3.4.3-r1.ebuild b/games-roguelike/nethack/nethack-3.4.3-r1.ebuild
index e76e0d9e96a7..349189e3cb3b 100644
--- a/games-roguelike/nethack/nethack-3.4.3-r1.ebuild
+++ b/games-roguelike/nethack/nethack-3.4.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/nethack/nethack-3.4.3-r1.ebuild,v 1.20 2008/01/14 20:33:41 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/nethack/nethack-3.4.3-r1.ebuild,v 1.21 2008/03/07 20:15:59 wolf31o2 Exp $
inherit eutils toolchain-funcs flag-o-matic games
@@ -80,7 +80,7 @@ src_compile() {
has_version =x11-libs/qt-3* \
&& qtver=3 \
|| qtver=2
- cd ${S}/src
+ cd "${S}"/src
append-flags -I../include
emake \
@@ -96,7 +96,7 @@ src_compile() {
CFLAGS="${CFLAGS}" \
LFLAGS="${lflags}" \
|| die "main build failed"
- cd ${S}/util
+ cd "${S}"/util
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" recover || die "util build failed"
}
@@ -123,7 +123,7 @@ src_install() {
sed -i \
-e "s:^\(HACKDIR=\).*:\1${HACKDIR}:" \
"${D}${GAMES_BINDIR}/nethack" \
- || die "sed ${D}${GAMES_BINDIR}/nethack failed"
+ || die "sed ${GAMES_BINDIR}/nethack failed"
doman doc/*.6
dodoc doc/*.txt
@@ -141,7 +141,7 @@ src_install() {
-e "s:GENTOO_WINDOWTYPES:${windowtypes}:" \
-e "s:GENTOO_DEFWINDOWTYPE:$1:" \
"${D}${HACKDIR}/dot.nethackrc" \
- || die "sed ${D}${HACKDIR}/dot.nethackrc failed"
+ || die "sed ${HACKDIR}/dot.nethackrc failed"
insinto /etc/skel
newins "${D}/${HACKDIR}/dot.nethackrc" .nethackrc
@@ -153,7 +153,7 @@ src_install() {
insinto "${HACKDIR}/fonts"
doins *.pcf
cd "${D}/${HACKDIR}/fonts"
- mkfontdir || die "The action mkfontdir ${D}${HACKDIR}/fonts failed"
+ mkfontdir || die "The action mkfontdir ${HACKDIR}/fonts failed"
# copy nethack x application defaults
cd "${S}/win/X11"
@@ -162,7 +162,7 @@ src_install() {
sed -i \
-e 's:^!\(NetHack.tile_file.*\):\1:' \
"${D}/etc/X11/app-defaults/NetHack" \
- || die "sed ${D}/etc/X11/app-defaults/NetHack failed"
+ || die "sed /etc/X11/app-defaults/NetHack failed"
fi
local statedir="${GAMES_STATEDIR}/${PN}"