From: Rudolf Polzer Date: Fri, 20 Dec 2013 11:14:45 +0000 (+0100) Subject: Fix use of readlink. X-Git-Tag: xonotic-v0.8.0~55 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2d0aab259acf56720dacfec2632aaa8f1dbbb4f5;p=xonotic%2Fxonotic.git Fix use of readlink. --- diff --git a/xonotic-linux-glx.sh b/xonotic-linux-glx.sh index 346ff72b..4ef3d030 100755 --- a/xonotic-linux-glx.sh +++ b/xonotic-linux-glx.sh @@ -1,7 +1,7 @@ #!/bin/sh path=`dirname "${0}"` -link=`readlink "${0}"` +link=`readlink -f "${0}"` [ -n "${link}" ] && path=`dirname "${link}"` cd "${path}"