From 6e51ebf30c046a50196466843531c0c2539b444c Mon Sep 17 00:00:00 2001 From: nyov Date: Wed, 8 Feb 2012 12:12:15 +0100 Subject: [PATCH] xonotic-linux-*.sh links did not work as intended, thanks to Kano for reporting --- xonotic-linux-glx.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.39.2