changed escaping slightly
authoresteel <esteel@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Mon, 5 Jan 2009 11:01:35 +0000 (11:01 +0000)
committeresteel <esteel@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Mon, 5 Jan 2009 11:01:35 +0000 (11:01 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@5408 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

Docs/server/server_havoc_linux.sh
Docs/server/server_havoc_mac.sh
Docs/server/server_linux.sh
Docs/server/server_mac.sh
nexuiz-linux-glx.sh

index 24f8361..fc78357 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 040ff50..f6d1b40 100755 (executable)
@@ -1 +1 @@
-#!/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\r\rexecutable="nexuiz-osx-dedicated"\r\rcd `dirname "${0}"`\rexec ./${executable} -game havoc +exec server.cfg "${@}"\r
\ No newline at end of file
index 4ed056a..1b4fcf8 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 f171cdf..60912f9 100755 (executable)
@@ -1 +1 @@
-#!/bin/sh\r\rexecutable="nexuiz-osx-dedicated"\r\rcd "`dirname \"${0}\"`"\rexec ./${executable} +exec server.cfg "${@}"\r
\ No newline at end of file
+#!/bin/sh\r\rexecutable="nexuiz-osx-dedicated"\r\rcd `dirname "${0}"`\rexec ./${executable} +exec server.cfg "${@}"\r
\ No newline at end of file
index e1097a4..f99704b 100755 (executable)
@@ -1,9 +1,9 @@
 #!/bin/sh
 
-path="`dirname \"${0}\"`"
-link="`readlink \"${0}\"`"
+path=`dirname "${0}"`
+link=`readlink "${0}"`
 
-[ -n "${link}" ] && path="`dirname \"${link}\"`"
+[ -n "${link}" ] && path=`dirname "${link}"`
 cd "${path}"
 
 case "${0##*/}" in