Merge branch 'northivanastan/documentation' into 'master'
[xonotic/xonotic.git] / xonotic-linux-glx.sh
index 346ff72b6bd2df6def3c12e9c2263ac6cb642557..137fc4ed27bacc5f4db5b82600047fa4a4f89989 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}"
@@ -13,8 +13,8 @@ case "${0##*/}" in
 esac
 
 case "$(uname -m)" in
-  x86_64)      arch="linux64" ;;
-  *)           arch="linux32" ;;
+  i?86)        arch="linux32" ;;  # Not supported anymore but you can build your own.
+  *)   arch="linux64" ;;
 esac
 
 xonotic="xonotic-${arch}-${mode}"