summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-03-07 16:48:24 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-03-07 16:48:24 +0000
commitd9117c15b1a88ecec0885d25a05ddbbd9e62d30b (patch)
tree1eda3b1bd22e3f7126b09912246ed2991ed3e0fd /games-emulation/generator/generator-0.35.ebuild
parentDon't use MAKEOPTS with scons (diff)
downloadgentoo-2-d9117c15b1a88ecec0885d25a05ddbbd9e62d30b.tar.gz
gentoo-2-d9117c15b1a88ecec0885d25a05ddbbd9e62d30b.tar.bz2
gentoo-2-d9117c15b1a88ecec0885d25a05ddbbd9e62d30b.zip
Change all instances of [ to [[.
(Portage version: 2.1.2.1)
Diffstat (limited to 'games-emulation/generator/generator-0.35.ebuild')
-rw-r--r--games-emulation/generator/generator-0.35.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/games-emulation/generator/generator-0.35.ebuild b/games-emulation/generator/generator-0.35.ebuild
index cf065393dafd..67937406ad9c 100644
--- a/games-emulation/generator/generator-0.35.ebuild
+++ b/games-emulation/generator/generator-0.35.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/generator-0.35.ebuild,v 1.14 2006/12/06 17:15:36 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/generator-0.35.ebuild,v 1.15 2007/03/07 16:48:24 wolf31o2 Exp $
inherit eutils toolchain-funcs games
@@ -31,7 +31,7 @@ src_unpack() {
|| die "sed configure failed"
fi
- if [ $(gcc-major-version) -eq 3 ] ; then
+ if [[ $(gcc-major-version) -eq 3 ]] ; then
sed -i \
-e "s/-malign-functions/-falign-functions/" \
-e "s/-malign-loops/-falign-loops/" \
@@ -51,7 +51,7 @@ src_compile() {
use gtk && myguis="gtk"
use svga && myguis="svgalib"
- [ -n "${myguis}" ] || myguis="gtk"
+ [[ -n "${myguis}" ]] || myguis="gtk"
for mygui in ${myguis}; do
if [ -f Makefile ] ; then