Fix use of readlink.
authorRudolf Polzer <divverent@xonotic.org>
Fri, 20 Dec 2013 11:14:45 +0000 (12:14 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Fri, 20 Dec 2013 11:14:45 +0000 (12:14 +0100)
xonotic-linux-glx.sh

index 346ff72b6bd2df6def3c12e9c2263ac6cb642557..4ef3d03030318a37fe05ba54b6ae3a3a62b56bfd 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 path=`dirname "${0}"`
-link=`readlink "${0}"`
+link=`readlink -f "${0}"`
 
 [ -n "${link}" ] && path=`dirname "${link}"`
 cd "${path}"