remove message echo on bashrc - we have an issu when we use scp command

This commit is contained in:
Jerome Sagnole 2017-09-02 00:11:01 +02:00
parent 1c4a615598
commit f2e70b182e

View file

@ -15,7 +15,6 @@ export PATH=\$PATH:/usr/local/bin:\$RYZOM_PATH/tools/scripts/linux
export RYDATA=/home/compil/khanat-ressources
export PATCH_HOME=/home/gameserver
export PATCH_CLIENT_SYSTEM=\$PATCH_HOME/patch_service
echo "Environment loaded"
EOF
# configure environment
@ -26,7 +25,6 @@ export PATH=\$PATH:/usr/local/bin:\$RYZOM_PATH/tools/scripts/linux
export RYDATA=/home/compil/khanat-ressources
export PATCH_HOME=/home/gameserver
export PATCH_CLIENT_SYSTEM=\$PATCH_HOME/patch_service
echo "Environment loaded"
EOF
# load environment
@ -340,7 +338,6 @@ echo "PATCH_HOME:$PATCH_HOME"
echo "PATCH_CLIENT_SYSTEM:$PATCH_CLIENT_SYSTEM"
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
listlang=$(ls $RYDATA/translation/translated | cut -f 1 -d '.' | sed 's/^.*\(.\{2\}\)$/\1/' | sort | uniq)
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
# 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
do
cp $RYDATA/translation/translated/*$lang.* $PATCH_CLIENT_SYSTEM/dataserver/kh_translate_$lang/ || exit 2