diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-03-07 16:57:59 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-03-07 16:57:59 +0000 |
commit | 0ff34655768f02127041b9d40d5d9812a5eee06b (patch) | |
tree | 4add2e7e20944dea7c69a0b32062344db2f7edb0 /games-fps/quake3-bin | |
parent | Change all instances of [ to [[. (diff) | |
download | historical-0ff34655768f02127041b9d40d5d9812a5eee06b.tar.gz historical-0ff34655768f02127041b9d40d5d9812a5eee06b.tar.bz2 historical-0ff34655768f02127041b9d40d5d9812a5eee06b.zip |
Change all instances of [ to [[.
Package-Manager: portage-2.1.2.1
Diffstat (limited to 'games-fps/quake3-bin')
-rw-r--r-- | games-fps/quake3-bin/ChangeLog | 7 | ||||
-rw-r--r-- | games-fps/quake3-bin/files/q3ded.rc | 6 |
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} |