From 2d0aab259acf56720dacfec2632aaa8f1dbbb4f5 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 20 Dec 2013 12:14:45 +0100 Subject: [PATCH] Fix use of readlink. --- xonotic-linux-glx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- 2.39.2