r5927 - trunk/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Feb 23 03:24:43 EST 2009


Author: div0
Date: 2009-02-23 03:24:19 -0500 (Mon, 23 Feb 2009)
New Revision: 5927

Modified:
   trunk/server/server_havoc_linux.sh
   trunk/server/server_havoc_mac.sh
   trunk/server/server_linux.sh
   trunk/server/server_mac.sh
Log:
fix some remaining bugs in the server sh files


Modified: trunk/server/server_havoc_linux.sh
===================================================================
--- trunk/server/server_havoc_linux.sh	2009-02-23 08:18:46 UTC (rev 5926)
+++ trunk/server/server_havoc_linux.sh	2009-02-23 08:24:19 UTC (rev 5927)
@@ -5,5 +5,5 @@
   *)		executable="nexuiz-linux-686-dedicated" ;;
 esac
 
-cd `dirname "${0}"`
+cd "`dirname "${0}"`"
 exec ./${executable} -game havoc +exec server.cfg "${@}"

Modified: trunk/server/server_havoc_mac.sh
===================================================================
--- trunk/server/server_havoc_mac.sh	2009-02-23 08:18:46 UTC (rev 5926)
+++ trunk/server/server_havoc_mac.sh	2009-02-23 08:24:19 UTC (rev 5927)
@@ -1 +1,6 @@
-#!/bin/sh

executable="nexuiz-osx-dedicated"

cd `dirname "${0}"`
exec ./${executable} -game havoc +exec server.cfg "${@}"
\ No newline at end of file
+#!/bin/sh
+
+executable="nexuiz-osx-dedicated"
+
+cd "`dirname "${0}"`"
+exec ./${executable} -game havoc +exec server.cfg "${@}"

Modified: trunk/server/server_linux.sh
===================================================================
--- trunk/server/server_linux.sh	2009-02-23 08:18:46 UTC (rev 5926)
+++ trunk/server/server_linux.sh	2009-02-23 08:24:19 UTC (rev 5927)
@@ -5,5 +5,5 @@
   *)		executable="nexuiz-linux-686-dedicated" ;;
 esac
 
-cd `dirname "${0}"`
+cd "`dirname "${0}"`"
 exec ./${executable} +exec server.cfg "${@}"

Modified: trunk/server/server_mac.sh
===================================================================
--- trunk/server/server_mac.sh	2009-02-23 08:18:46 UTC (rev 5926)
+++ trunk/server/server_mac.sh	2009-02-23 08:24:19 UTC (rev 5927)
@@ -2,5 +2,5 @@
 
 executable="nexuiz-osx-dedicated"
 
-cd `dirname "${0}"`
+cd "`dirname "${0}"`"
 exec ./${executable} +exec server.cfg "${@}"




More information about the nexuiz-commits mailing list