mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 16:26:18 +00:00
remove message echo on bashrc - we have an issu when we use scp command
This commit is contained in:
parent
1c4a615598
commit
f2e70b182e
1 changed files with 1 additions and 4 deletions
|
@ -15,7 +15,6 @@ export PATH=\$PATH:/usr/local/bin:\$RYZOM_PATH/tools/scripts/linux
|
||||||
export RYDATA=/home/compil/khanat-ressources
|
export RYDATA=/home/compil/khanat-ressources
|
||||||
export PATCH_HOME=/home/gameserver
|
export PATCH_HOME=/home/gameserver
|
||||||
export PATCH_CLIENT_SYSTEM=\$PATCH_HOME/patch_service
|
export PATCH_CLIENT_SYSTEM=\$PATCH_HOME/patch_service
|
||||||
echo "Environment loaded"
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# configure environment
|
# configure environment
|
||||||
|
@ -26,7 +25,6 @@ export PATH=\$PATH:/usr/local/bin:\$RYZOM_PATH/tools/scripts/linux
|
||||||
export RYDATA=/home/compil/khanat-ressources
|
export RYDATA=/home/compil/khanat-ressources
|
||||||
export PATCH_HOME=/home/gameserver
|
export PATCH_HOME=/home/gameserver
|
||||||
export PATCH_CLIENT_SYSTEM=\$PATCH_HOME/patch_service
|
export PATCH_CLIENT_SYSTEM=\$PATCH_HOME/patch_service
|
||||||
echo "Environment loaded"
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# load environment
|
# load environment
|
||||||
|
@ -340,7 +338,6 @@ echo "PATCH_HOME:$PATCH_HOME"
|
||||||
echo "PATCH_CLIENT_SYSTEM:$PATCH_CLIENT_SYSTEM"
|
echo "PATCH_CLIENT_SYSTEM:$PATCH_CLIENT_SYSTEM"
|
||||||
mkdir -p $PATCH_HOME/patch_service/dataserver || exit 2
|
mkdir -p $PATCH_HOME/patch_service/dataserver || exit 2
|
||||||
|
|
||||||
# TODO : Pourquoi récupère ton des données de khanat-ressources pour les langues ?
|
|
||||||
# Search le nombre de langue
|
# Search le nombre de langue
|
||||||
listlang=$(ls $RYDATA/translation/translated | cut -f 1 -d '.' | sed 's/^.*\(.\{2\}\)$/\1/' | sort | uniq)
|
listlang=$(ls $RYDATA/translation/translated | cut -f 1 -d '.' | sed 's/^.*\(.\{2\}\)$/\1/' | sort | uniq)
|
||||||
echo "LIST LANG : $listlang"
|
echo "LIST LANG : $listlang"
|
||||||
|
@ -365,7 +362,7 @@ cp $RYDATA/leveldesign/game_elem/sheet_id.bin $PATCH_CLIENT_SYSTEM/kh_server/ ||
|
||||||
|
|
||||||
cd $PATCH_HOME/patch_service/dataserver; tar xzf /opt/khanat-data-client.tar.gz || exit 2
|
cd $PATCH_HOME/patch_service/dataserver; tar xzf /opt/khanat-data-client.tar.gz || exit 2
|
||||||
|
|
||||||
# TODO : Pourquoi récupère ton des données de khanat-ressources pour les langues ?
|
# language : copy to client (to generate client patch)
|
||||||
for lang in $listlang
|
for lang in $listlang
|
||||||
do
|
do
|
||||||
cp $RYDATA/translation/translated/*$lang.* $PATCH_CLIENT_SYSTEM/dataserver/kh_translate_$lang/ || exit 2
|
cp $RYDATA/translation/translated/*$lang.* $PATCH_CLIENT_SYSTEM/dataserver/kh_translate_$lang/ || exit 2
|
||||||
|
|
Loading…
Reference in a new issue