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=linux_
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
SYSTEM_NAME=native_
|
SYSTEM_NAME=unknown_
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -29,6 +29,9 @@ case ${MACHINE_NAME} in
|
|||||||
i486|i586|i686)
|
i486|i586|i686)
|
||||||
MACHINE_NAME=
|
MACHINE_NAME=
|
||||||
;;
|
;;
|
||||||
|
x86_64)
|
||||||
|
MACHINE_NAME=64_
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
if [ ${SYSTEM_NAME} != native_ ]
|
if [ ${SYSTEM_NAME} != native_ ]
|
||||||
then
|
then
|
||||||
@@ -44,10 +47,10 @@ then
|
|||||||
MACHINE_NAME=
|
MACHINE_NAME=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -x ${CUBE_DIR}/bin_unix/${MACHINE_NAME}${SYSTEM_NAME}client ]
|
if [ -x ${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}client ]
|
||||||
then
|
then
|
||||||
cd ${CUBE_DIR}
|
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
|
else
|
||||||
echo "Your platform does not have a pre-compiled Cube client."
|
echo "Your platform does not have a pre-compiled Cube client."
|
||||||
echo "Please follow the following steps to build a native client:"
|
echo "Please follow the following steps to build a native client:"
|
||||||
|
|||||||
Reference in New Issue
Block a user