*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@667 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-14 16:36:09 +00:00
parent 98eec67c89
commit 6b64a18be4
2 changed files with 26 additions and 18 deletions
+13 -9
View File
@@ -14,32 +14,36 @@ MACHINE_NAME=`uname -m`
case ${SYSTEM_NAME} in
Linux)
SYSTEM_PREFIX=linux_
SYSTEM_NAME=linux_
;;
*)
SYSTEM_PREFIX=native_
SYSTEM_NAME=native_
;;
esac
case ${MACHINE_NAME} in
i486|i586|i686)
MACHINE_PREFIX=
MACHINE_NAME=
;;
*)
MACHINE_PREFIX=
if [ ${SYSTEM_NAME} != native_ ]
then
SYSTEM_NAME=native_
fi
MACHINE_NAME=
;;
esac
if test -x ${CUBE_DIR}/bin_unix/native_client
if [ -x ${CUBE_DIR}/bin_unix/native_client ]
then
SYSTEM_PREFIX=native_
MACHINE_PREFIX=
SYSTEM_NAME=native_
MACHINE_NAME=
fi
if test -x ${CUBE_DIR}/bin_unix/${MACHINE_PREFIX}${SYSTEM_PREFIX}client
if [ -x ${CUBE_DIR}/bin_unix/${MACHINE_NAME}${SYSTEM_NAME}client ]
then
cd ${CUBE_DIR}
exec ${CUBE_DIR}/bin_unix/${MACHINE_PREFIX}${SYSTEM_PREFIX}client $*
exec ${CUBE_DIR}/bin_unix/${MACHINE_NAME}${SYSTEM_NAME}client $*
else
echo "Your platform does not have a pre-compiled Cube client."
echo "Please follow the following steps to build a native client:"
+13 -9
View File
@@ -14,32 +14,36 @@ MACHINE_NAME=`uname -m`
case ${SYSTEM_NAME} in
Linux)
SYSTEM_PREFIX=linux_
SYSTEM_NAME=linux_
;;
*)
SYSTEM_PREFIX=native_
SYSTEM_NAME=native_
;;
esac
case ${MACHINE_NAME} in
i486|i586|i686)
MACHINE_PREFIX=
MACHINE_NAME=
;;
*)
MACHINE_PREFIX=
if [ ${SYSTEM_NAME} != native_ ]
then
SYSTEM_NAME=native_
fi
MACHINE_NAME=
;;
esac
if test -x ${CUBE_DIR}/bin_unix/native_server
if [ -x ${CUBE_DIR}/bin_unix/native_server ]
then
SYSTEM_PREFIX=native_
MACHINE_PREFIX=
SYSTEM_NAME=native_
MACHINE_NAME=
fi
if test -x ${CUBE_DIR}/bin_unix/${MACHINE_PREFIX}${SYSTEM_PREFIX}server
if [ -x ${CUBE_DIR}/bin_unix/${MACHINE_NAME}${SYSTEM_NAME}server ]
then
cd ${CUBE_DIR}
exec ${CUBE_DIR}/bin_unix/${MACHINE_PREFIX}${SYSTEM_PREFIX}server $*
exec ${CUBE_DIR}/bin_unix/${MACHINE_NAME}${SYSTEM_NAME}server $*
else
echo "Your platform does not have a pre-compiled Cube server."
echo "Please follow the following steps to build a native server:"