]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
xonotic-linux-*.sh links did not work as intended, thanks to Kano for reporting nyov/scriptfix
authornyov <nyov@nexnode.net>
Wed, 8 Feb 2012 11:12:15 +0000 (12:12 +0100)
committernyov <nyov@nexnode.net>
Wed, 8 Feb 2012 11:12:25 +0000 (12:12 +0100)
xonotic-linux-glx.sh

index 346ff72b6bd2df6def3c12e9c2263ac6cb642557..d3344fe14c48aff127851a1e80dc8db5a9e72ec1 100755 (executable)
@@ -1,9 +1,12 @@
 #!/bin/sh
 
 path=`dirname "${0}"`
-link=`readlink "${0}"`
 
-[ -n "${link}" ] && path=`dirname "${link}"`
+# (we cannot follow symlinks here, since we
+#  link -sdl.sh and -dedicated.sh to -glx.sh)
+#link=`readlink "${0}"`
+#[ -n "${link}" ] && path=`dirname "${link}"`
+
 cd "${path}"
 
 case "${0##*/}" in