updated to catch x86_64
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2882 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+6
-3
@@ -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:"
|
||||
|
||||
Reference in New Issue
Block a user