From d013db90578dd3eb22615d6efdcd689cb5ff910c Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Fri, 10 Oct 2008 20:29:53 +0000 Subject: [PATCH] updated to catch x86_64 git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2882 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- assaultcube.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/assaultcube.sh b/assaultcube.sh index d1cf21e0..e42b1ee2 100755 --- a/assaultcube.sh +++ b/assaultcube.sh @@ -21,7 +21,7 @@ Linux) SYSTEM_NAME=linux_ ;; *) - SYSTEM_NAME=native_ + SYSTEM_NAME=unknown_ ;; esac @@ -29,6 +29,9 @@ case ${MACHINE_NAME} in i486|i586|i686) MACHINE_NAME= ;; +x86_64) + MACHINE_NAME=64_ + ;; *) if [ ${SYSTEM_NAME} != native_ ] then @@ -44,10 +47,10 @@ then MACHINE_NAME= fi -if [ -x ${CUBE_DIR}/bin_unix/${MACHINE_NAME}${SYSTEM_NAME}client ] +if [ -x ${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}client ] then cd ${CUBE_DIR} - exec ${CUBE_DIR}/bin_unix/${MACHINE_NAME}${SYSTEM_NAME}client ${CUBE_OPTIONS} "$@" + exec ${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}client ${CUBE_OPTIONS} "$@" else echo "Your platform does not have a pre-compiled Cube client." echo "Please follow the following steps to build a native client:"