correct package client generated on 64bit

This commit is contained in:
AleaJactaEst 2018-07-09 22:00:05 +02:00
parent 2fc85bbcf5
commit 031dac6f4e
2 changed files with 7 additions and 3 deletions

View file

@ -54,9 +54,9 @@ Linux server build:
- cp $WORKDIR/server/debian/common/khaganat.cfg /opt/ext - cp $WORKDIR/server/debian/common/khaganat.cfg /opt/ext
- mkdir -p /opt/rootweb - mkdir -p /opt/rootweb
- cp $WORKDIR/server/common/rootweb/* /opt/rootweb/ - cp $WORKDIR/server/common/rootweb/* /opt/rootweb/
- echo -e 'export KHANAT_CLIENT_VERSION="1"\nexport UIDGAMESERVER=1000\nexport GIDGAMESERVER=1000\nexport DIRCLIENT="/opt/opennel_data"\nexport PACKAGECLIENT="smokey_linux64"' > /opt/khanat_config.sh - echo -e 'export KHANAT_CLIENT_VERSION="1"\nexport UIDGAMESERVER=1000\nexport GIDGAMESERVER=1000\nexport DIRCLIENT="Khanat_Linux64"\nexport PACKAGECLIENT="smokey_linux64"' > /opt/khanat_config.sh
- /opt/servercontainer_init_create_account.sh
- mkdir -p /var/run/mysqld - mkdir -p /var/run/mysqld
- /opt/servercontainer_init_create_account.sh
- /opt/servercontainer_init_mysql.sh - /opt/servercontainer_init_mysql.sh
- /opt/servercontainer_init_apache.sh - /opt/servercontainer_init_apache.sh
- /opt/servercontainer_init_configure_envi.sh - /opt/servercontainer_init_configure_envi.sh
@ -65,7 +65,7 @@ Linux server build:
- export -p KHANAT_PATH=/home/gameserver/khanat - export -p KHANAT_PATH=/home/gameserver/khanat
- export -p PATH=$PATH:/usr/local/bin - export -p PATH=$PATH:/usr/local/bin
- export -p PATCH_CLIENT_SYSTEM=$KHANAT_HOME/khanat/patch_service - export -p PATCH_CLIENT_SYSTEM=$KHANAT_HOME/khanat/patch_service
- export -p DIRCLIENT="/opt/opennel_data" - export -p DIRCLIENT="Khanat_Linux64"
- export -p PACKAGECLIENT="smokey_linux64" - export -p PACKAGECLIENT="smokey_linux64"
- export -p PREPARE_CLIENT_DIR="khanat/prepare_client/$DIRCLIENT" - export -p PREPARE_CLIENT_DIR="khanat/prepare_client/$DIRCLIENT"
- export -p CLIENT_DIR="khanat/client_service" - export -p CLIENT_DIR="khanat/client_service"

View file

@ -50,6 +50,10 @@ do
set_debug 1 set_debug 1
shift shift
;; ;;
--client-dir=*)
DIRCLIENT="${1#*=}"
shift
;;
*) *)
msg_error "[$(basename $0):$LINENO] options '$1' not recognize" msg_error "[$(basename $0):$LINENO] options '$1' not recognize"
usage usage