summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-03-07 16:53:48 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-03-07 16:53:48 +0000
commit43e054b4633a3125bfa963e9961501a8127fcef0 (patch)
treeb62430e709a13c6820b7db84117fecfcc5b52499 /games-fps/quake3-bin
parentChange all instances of [ to [[. (diff)
downloadgentoo-2-43e054b4633a3125bfa963e9961501a8127fcef0.tar.gz
gentoo-2-43e054b4633a3125bfa963e9961501a8127fcef0.tar.bz2
gentoo-2-43e054b4633a3125bfa963e9961501a8127fcef0.zip
Change all instances of [ to [[.
(Portage version: 2.1.2.1)
Diffstat (limited to 'games-fps/quake3-bin')
-rw-r--r--games-fps/quake3-bin/ChangeLog7
-rw-r--r--games-fps/quake3-bin/files/q3ded.rc6
2 files changed, 8 insertions, 5 deletions
diff --git a/games-fps/quake3-bin/ChangeLog b/games-fps/quake3-bin/ChangeLog
index a47b868c1364..f32f1e55b2d3 100644
--- a/games-fps/quake3-bin/ChangeLog
+++ b/games-fps/quake3-bin/ChangeLog
@@ -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:
diff --git a/games-fps/quake3-bin/files/q3ded.rc b/games-fps/quake3-bin/files/q3ded.rc
index ee02531f6aa4..cf909bebcbdf 100644
--- a/games-fps/quake3-bin/files/q3ded.rc
+++ b/games-fps/quake3-bin/files/q3ded.rc
@@ -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}