summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-03-07 16:56:29 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-03-07 16:56:29 +0000
commitf984b5552c63055a9ef0e7282724526bbf3443d7 (patch)
treebdfd6275c1210aff84b9644e434a14bd65306db4 /games-fps/ut2003-demo
parentChange all instances of [ to [[. (diff)
downloadgentoo-2-f984b5552c63055a9ef0e7282724526bbf3443d7.tar.gz
gentoo-2-f984b5552c63055a9ef0e7282724526bbf3443d7.tar.bz2
gentoo-2-f984b5552c63055a9ef0e7282724526bbf3443d7.zip
Change all instances of [ to [[.
(Portage version: 2.1.2.1)
Diffstat (limited to 'games-fps/ut2003-demo')
-rw-r--r--games-fps/ut2003-demo/ChangeLog7
-rw-r--r--games-fps/ut2003-demo/files/results.sh4
2 files changed, 7 insertions, 4 deletions
diff --git a/games-fps/ut2003-demo/ChangeLog b/games-fps/ut2003-demo/ChangeLog
index 6eecf8ec069c..b175c9f61b01 100644
--- a/games-fps/ut2003-demo/ChangeLog
+++ b/games-fps/ut2003-demo/ChangeLog
@@ -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:
diff --git a/games-fps/ut2003-demo/files/results.sh b/games-fps/ut2003-demo/files/results.sh
index 6810f4dbc805..a74cf909c9ad 100644
--- a/games-fps/ut2003-demo/files/results.sh
+++ b/games-fps/ut2003-demo/files/results.sh
@@ -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