Skip to content

Commit

Permalink
don't pull in parallel from transifex (occasionally looses files)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Dec 6, 2019
1 parent fed3a8c commit 64f17aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/update_ts.sh
Expand Up @@ -120,7 +120,7 @@ files="$files $(find python -name "*.ts")"

if [ $action = push ]; then
echo Pulling source from transifex...
tx pull -s -l none --parallel $TX_FLAGS
tx pull -s -l none $TX_FLAGS
if ! [ -f "i18n/qgis_en.ts" ]; then
echo Download of source translation failed
exit 1
Expand All @@ -140,7 +140,7 @@ elif [ $action = pull ]; then

fail=1
for i in $(seq 10); do
tx pull $o -s --minimum-perc=35 --parallel $TX_FLAGS && fail=0 && break
tx pull $o -s --minimum-perc=35 $TX_FLAGS && fail=0 && break
echo Retrying...
sleep 10
done
Expand Down

0 comments on commit 64f17aa

Please sign in to comment.