Change all instances of [ to [[.
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 7 Mar 2007 16:57:59 +0000 (16:57 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 7 Mar 2007 16:57:59 +0000 (16:57 +0000)
Package-Manager: portage-2.1.2.1

17 files changed:
games-fps/blackshades-cvs/ChangeLog
games-fps/blackshades-cvs/blackshades-cvs-20031110-r1.ebuild
games-fps/cube/ChangeLog
games-fps/cube/cube-20040522.ebuild
games-fps/duke3d/ChangeLog
games-fps/duke3d/duke3d-20040817-r1.ebuild
games-fps/duke3d/duke3d-20040817.ebuild
games-fps/quake3-bin/ChangeLog
games-fps/quake3-bin/files/q3ded.rc
games-fps/ttyquake/ChangeLog
games-fps/ttyquake/files/ttyquake
games-fps/ut2003-bonuspack-epic/ChangeLog
games-fps/ut2003-bonuspack-epic/files/epic-installer
games-fps/ut2003-demo/ChangeLog
games-fps/ut2003-demo/files/results.sh
games-fps/ut2003/ChangeLog
games-fps/ut2003/ut2003-2225-r4.ebuild

index f7e6201bd0cf8266db831c0adc1e4283d9c4b0ad..ceda756d9518db5cb82d396759a16ed33494f999 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for games-fps/blackshades-cvs
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/blackshades-cvs/ChangeLog,v 1.13 2006/12/06 20:18:12 wolf31o2 Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/blackshades-cvs/ChangeLog,v 1.14 2007/03/07 16:51:30 wolf31o2 Exp $
+
+  07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+  blackshades-cvs-20031110-r1.ebuild:
+  Change all instances of [ to [[.
 
   06 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
   blackshades-cvs-20031110-r1.ebuild:
index ce99258d104ec57af050463c28bb4daa01695b3a..1d599aa3eb64f46b694fadf03817d29c25cb963b 100644 (file)
@@ -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-fps/blackshades-cvs/blackshades-cvs-20031110-r1.ebuild,v 1.3 2006/12/06 20:18:12 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/blackshades-cvs/blackshades-cvs-20031110-r1.ebuild,v 1.4 2007/03/07 16:51:30 wolf31o2 Exp $
 
 #ECVS_PASS="anonymous"
 #ECVS_SERVER="icculus.org:/cvs/cvsroot"
@@ -28,7 +28,7 @@ DEPEND="virtual/opengl
 S=${WORKDIR}/${ECVS_MODULE}
 
 src_unpack() {
-       if [ -z "${ECVS_SERVER}" ] ; then
+       if [[ -z "${ECVS_SERVER}" ]] ; then
                unpack blackshades-${PV}.tar.bz2
        else
                cvs_src_unpack
index 5ac0f2c29c1406ec8031e6e685799423fb0e6dfc..e5e7bbefd2dd05e0796cc56021411744776f8782 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-fps/cube
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/ChangeLog,v 1.16 2007/02/21 23:38:28 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/ChangeLog,v 1.17 2007/03/07 16:52:07 wolf31o2 Exp $
+
+  07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> cube-20040522.ebuild:
+  Change all instances of [ to [[.
 
   21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
   Transition to Manifest2.
index 9587d0d48e33716307e3c3684e1154727f3b0a01..7ff0568da4c56f4aca6625bc5cd2de8e296034bb 100644 (file)
@@ -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-fps/cube/cube-20040522.ebuild,v 1.9 2006/12/06 17:20:15 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/cube-20040522.ebuild,v 1.10 2007/03/07 16:52:07 wolf31o2 Exp $
 
 inherit eutils flag-o-matic games
 
@@ -66,10 +66,10 @@ src_compile() {
 src_install() {
        dogamesbin source/src/cube_{client,server} || die "dogamesbin failed"
        exeinto "${GAMES_LIBDIR}/${PN}"
-       if [ "${ARCH}" == "x86" ] ; then
+       if [[ "${ARCH}" == "x86" ]] ; then
                newexe bin_unix/linux_client cube_client || die "newexe failed"
                newexe bin_unix/linux_server cube_server || die "newexe failed"
-       elif [ "${ARCH}" == "ppc" ] ; then
+       elif [[ "${ARCH}" == "ppc" ]] ; then
                newexe bin_unix/ppc_linux_client cube_client || die "newexe failed"
                newexe bin_unix/ppc_linux_server cube_server || die "newexe failed"
        fi
index a8307df8d46f74577ec6bb46d212da7538253e10..589c97edf833f21446729e10c0e03823a8f4468b 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for games-fps/duke3d
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/ChangeLog,v 1.24 2006/12/24 11:30:56 tupone Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/ChangeLog,v 1.25 2007/03/07 16:52:42 wolf31o2 Exp $
+
+  07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+  duke3d-20040817.ebuild, duke3d-20040817-r1.ebuild:
+  Change all instances of [ to [[.
 
   24 Dec 2006; <tupone@gentoo.org> duke3d-20040817-r1.ebuild:
   Test for perl build with ithreads use flags. Bug #80999 by Alan Grimes
index 446059ce750fa31a213de7d74f7a173e2e67205e..b564bf56ce0353eeac9519fbf54835939cfe35d6 100644 (file)
@@ -1,10 +1,10 @@
-# 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-fps/duke3d/duke3d-20040817-r1.ebuild,v 1.3 2006/12/24 11:30:56 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/duke3d-20040817-r1.ebuild,v 1.4 2007/03/07 16:52:42 wolf31o2 Exp $
 
 fromcvs=0
 ECVS_MODULE="duke3d"
-if [ ${fromcvs} -eq 1 ] ; then
+if [[ ${fromcvs} -eq 1 ]] ; then
        ECVS_PASS="anonymous"
        ECVS_SERVER="icculus.org:/cvs/cvsroot"
        inherit cvs eutils flag-o-matic games
@@ -43,7 +43,7 @@ pkg_setup() {
 }
 
 src_unpack() {
-       if [ ${fromcvs} -eq 1 ] ; then
+       if [[ ${fromcvs} -eq 1 ]] ; then
                cvs_src_unpack
                cd duke3d/source
                ECVS_MODULE="buildengine"
index 301f9fc6f7f5be4cb61d523408979c881375db4a..22d2a103f8cc94fd09f936d2b31535648345d8c4 100644 (file)
@@ -1,10 +1,10 @@
-# 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-fps/duke3d/duke3d-20040817.ebuild,v 1.9 2006/09/08 04:57:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/duke3d-20040817.ebuild,v 1.10 2007/03/07 16:52:42 wolf31o2 Exp $
 
 fromcvs=0
 ECVS_MODULE="duke3d"
-if [ ${fromcvs} -eq 1 ] ; then
+if [[ ${fromcvs} -eq 1 ]] ; then
        ECVS_PASS="anonymous"
        ECVS_SERVER="icculus.org:/cvs/cvsroot"
        inherit cvs eutils flag-o-matic games
@@ -35,7 +35,7 @@ S="${WORKDIR}/${ECVS_MODULE}"
 use_tf() { useq ${1} && echo "true" || echo "false"; }
 
 src_unpack() {
-       if [ ${fromcvs} -eq 1 ] ; then
+       if [[ ${fromcvs} -eq 1 ]] ; then
                cvs_src_unpack
                cd duke3d/source
                ECVS_MODULE="buildengine"
index a47b868c1364393df94a15c73a7d608bc6149657..f32f1e55b2d3be9dd354cef3d86cfaa7ebba0cac 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-fps/quake3-bin
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/ChangeLog,v 1.22 2006/10/25 16:03:24 wolf31o2 Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/ChangeLog,v 1.23 2007/03/07 16:53:48 wolf31o2 Exp $
+
+  07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> files/q3ded.rc:
+  Change all instances of [ to [[.
 
   25 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org>
   quake3-bin-1.32c-r1.ebuild:
index ee02531f6aa48999045d4e86ccdd431f2eb71684..cf909bebcbdfb6d30c40f43f6831f9ab86c7eb0d 100644 (file)
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/files/q3ded.rc,v 1.1 2005/10/25 00:38:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/files/q3ded.rc,v 1.2 2007/03/07 16:53:48 wolf31o2 Exp $
 
 depend() {
        need net
@@ -16,12 +16,12 @@ start() {
 stop() {
        ebegin "Stopping Quake3 dedicated server"
        local pid=`screen -list | grep q3ded-bin | awk -F . '{print $1}' | sed -e s/.//`
-       if [ -z "${pid}" ] ; then
+       if [[ -z "${pid}" ]] ; then
                eend 1 "Lost screen session"
        else
                pid=`pstree -p ${pid} | sed -e 's:^.*q3ded-bin::'`
                pid=${pid:1:${#pid}-2}
-               if [ -z "${pid}" ] ; then
+               if [[ -z "${pid}" ]] ; then
                        eend 1 "Lost q3ded-bin session"
                else
                        kill ${pid}
index 67f24ce1b519dd4e3cb58379fdb5a9277e3cf57f..399218c233ac6b0031b81540cd09b94bcc53d208 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-fps/ttyquake
 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ttyquake/ChangeLog,v 1.7 2007/02/22 00:35:00 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ttyquake/ChangeLog,v 1.8 2007/03/07 16:54:51 wolf31o2 Exp $
+
+  07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> files/ttyquake:
+  Change all instances of [ to [[.
 
   22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
   Transition to Manifest2.
index e43cf8eb43c03db24878a5a07f90d04a143e5a69..32249b31b70709da4727df2b125f95d9009766f4 100644 (file)
@@ -2,7 +2,7 @@
 DISPLAY=
 export LD_LIBRARY_PATH=GENTOO_LIBDIR:${LD_LIBRARY_PATH}
 
-if [ `whoami` = "root" ];then
+if [[ `whoami` = "root" ]] ;then
    echo "***********************************"
    echo "* You can't run ttyquake as root. *"
    echo "* Didn't you read the damn README *"
@@ -11,7 +11,7 @@ if [ `whoami` = "root" ];then
    exit
 fi
 
-if [ -u GAMES_BINDIR/squake ];then
+if [[ -u GAMES_BINDIR/squake ]] ;then
    echo "**********************************"
    echo "*  /squake is setuid.  ttyquake  *"
    echo "* won't work unless you turn off *"
index b6fb052462e4f29d20fdee5720d5ac5c97996351..7568e2743cb91a0bc42556b2c6b8009ee4876b3e 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-fps/ut2003-bonuspack-epic
 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003-bonuspack-epic/ChangeLog,v 1.14 2007/02/22 01:00:57 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003-bonuspack-epic/ChangeLog,v 1.15 2007/03/07 16:55:21 wolf31o2 Exp $
+
+  07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> files/epic-installer:
+  Change all instances of [ to [[.
 
   22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
   Transition to Manifest2.
index 5c498b1bc567ebe075eb94f2e70ca9c88e79e4df..a8c35aa0c751abb1367f6378672f7cd8869780d6 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-if [ -d $HOME/.ut2003/System ]; then
+if [[ -d $HOME/.ut2003/System ]] ; then
        cd "$HOME/.ut2003/System"
        echo "Editing UT2003.ini in $PWD"
        cat >> UT2003.ini <<EOT
index 6eecf8ec069cb9ca767fcf08bc96ea623b72e2c2..b175c9f61b01e042bc2cb9e1a719a41d63758648 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-fps/ut2003-demo
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003-demo/ChangeLog,v 1.26 2006/11/14 18:27:21 wolf31o2 Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003-demo/ChangeLog,v 1.27 2007/03/07 16:56:29 wolf31o2 Exp $
+
+  07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> files/results.sh:
+  Change all instances of [ to [[.
 
   14 Nov 2006; Chris Gianelloni <wolf31o2@gentoo.org>
   ut2003-demo-2206-r3.ebuild:
index 6810f4dbc8056e3c7e01b65b31c35e7ea9e2d0b2..a74cf909c9ad1c7c09aeeeff5374e206bea75b1c 100644 (file)
@@ -2,7 +2,7 @@
 # Written by phoen][x <phoenix@gentoo.org>, Sep/21/2002
 # Modifications, enhancements or bugs?  Contact games@gentoo.org
 
-[ -z "${1}" ] \
+[[ -z "${1}" ]] \
        && FILE="${HOME}/.ut2003/Benchmark/bench.log" \
        || FILE="${1}"
 
@@ -20,7 +20,7 @@ FB_MAX_COUNT=0
 
 while read LINE ; do
        CURLINE=`expr $CURLINE + 1`
-       if [ ${CURLINE} -eq 1 ] ; then
+       if [[ ${CURLINE} -eq 1 ]] ; then
                echo ">> Results of the UT2003-demo benchmark"
                echo ">> Created on ${LINE}"
                continue
index 564cf758b3d2867551c69e0820af01ce5ac4bea8..7fd8cdc9619c83f1a9b4e79188673461e19e9842 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-fps/ut2003
 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003/ChangeLog,v 1.42 2007/02/22 00:41:13 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003/ChangeLog,v 1.43 2007/03/07 16:57:59 wolf31o2 Exp $
+
+  07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> ut2003-2225-r4.ebuild:
+  Change all instances of [ to [[.
 
   22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
   Transition to Manifest2.
index 6c95f396f700437d17c22112d732276f3b28001b..457cd4b7a9b23bf8598187bae2a56e53733fa2c4 100644 (file)
@@ -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-fps/ut2003/ut2003-2225-r4.ebuild,v 1.10 2006/10/03 20:25:01 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003/ut2003-2225-r4.ebuild,v 1.11 2007/03/07 16:57:59 wolf31o2 Exp $
 
 inherit eutils games
 
@@ -48,12 +48,12 @@ pkg_postinst() {
 
        # here is where we check for the existence of a cdkey...
        # if we don't find one, we ask the user for it
-       if [ -f ${dir}/System/cdkey ]; then
+       if [[ -f ${dir}/System/cdkey ]] ; then
                einfo "A cdkey file is already present in ${dir}/System"
        else
                ewarn "You MUST run this before playing the game:"
                ewarn "emerge --config =${CATEGORY}/${PF}"
-               ewarn "That way you can [re]enter your cdkey."
+               ewarn "That way you can (re)enter your cdkey."
        fi
        echo
        einfo "To play the game run:"
@@ -82,11 +82,11 @@ pkg_config() {
                read CDKEY1
                einfo "Please re-enter your CD key:"
                read CDKEY2
-               if [ "$CDKEY1" == "" ] ; then
+               if [[ "${CDKEY1}" == "" ]] ; then
                        echo "You entered a blank CD key.  Try again."
                else
-                       if [ "$CDKEY1" == "$CDKEY2" ] ; then
-                               echo "$CDKEY1" | tr a-z A-Z > ${dir}/System/cdkey
+                       if [[ "${CDKEY1}" == "${CDKEY2}" ]] ; then
+                               echo "${CDKEY1}" | tr a-z A-Z > ${dir}/System/cdkey
                                einfo "Thank you!"
                                chown games:games ${dir}/System/cdkey
                                break