fix some remaining bugs in the server sh files
authordiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Mon, 23 Feb 2009 08:24:19 +0000 (08:24 +0000)
committerdiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Mon, 23 Feb 2009 08:24:19 +0000 (08:24 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@5927 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

server/server_havoc_linux.sh
server/server_havoc_mac.sh
server/server_linux.sh
server/server_mac.sh

index fc78357..6dd6d27 100755 (executable)
@@ -5,5 +5,5 @@ case "$(uname -m)" in
   *)           executable="nexuiz-linux-686-dedicated" ;;
 esac
 
-cd `dirname "${0}"`
+cd "`dirname "${0}"`"
 exec ./${executable} -game havoc +exec server.cfg "${@}"
index f6d1b40..7d6ed98 100755 (executable)
@@ -1 +1,6 @@
-#!/bin/sh\r\rexecutable="nexuiz-osx-dedicated"\r\rcd `dirname "${0}"`\rexec ./${executable} -game havoc +exec server.cfg "${@}"\r
\ No newline at end of file
+#!/bin/sh
+
+executable="nexuiz-osx-dedicated"
+
+cd "`dirname "${0}"`"
+exec ./${executable} -game havoc +exec server.cfg "${@}"
index 1b4fcf8..58b6a19 100755 (executable)
@@ -5,5 +5,5 @@ case "$(uname -m)" in
   *)           executable="nexuiz-linux-686-dedicated" ;;
 esac
 
-cd `dirname "${0}"`
+cd "`dirname "${0}"`"
 exec ./${executable} +exec server.cfg "${@}"
index 827bf40..5124012 100755 (executable)
@@ -2,5 +2,5 @@
 
 executable="nexuiz-osx-dedicated"
 
-cd `dirname "${0}"`
+cd "`dirname "${0}"`"
 exec ./${executable} +exec server.cfg "${@}"