From: nyov Date: Wed, 8 Feb 2012 11:12:15 +0000 (+0100) Subject: xonotic-linux-*.sh links did not work as intended, thanks to Kano for reporting X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6e51ebf30c046a50196466843531c0c2539b444c;p=xonotic%2Fxonotic.git xonotic-linux-*.sh links did not work as intended, thanks to Kano for reporting --- diff --git a/xonotic-linux-glx.sh b/xonotic-linux-glx.sh index 346ff72b..d3344fe1 100755 --- a/xonotic-linux-glx.sh +++ b/xonotic-linux-glx.sh @@ -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