diff options
author | Ruben Rodriguez <ruben@gnu.org> | 2015-03-10 22:03:35 +0000 |
---|---|---|
committer | Ruben Rodriguez <ruben@gnu.org> | 2015-03-10 22:03:35 +0000 |
commit | 6428701474f6416618439c958f31383e594b2a02 (patch) | |
tree | 120835ba9aa47e3fea74776a20db7cdd3c85903c /makeicecat | |
parent | ff34ee649e24b4d244e063b2aed88a720692f815 (diff) |
Revert "Download translations in parallel"
This reverts commit 5a5a0acd3b2fc94993ca5e207004492fff839b51.
Diffstat (limited to 'makeicecat')
-rw-r--r--[-rwxr-xr-x] | makeicecat | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/makeicecat b/makeicecat index a8a471a..3b94d0a 100755..100644 --- a/makeicecat +++ b/makeicecat @@ -89,25 +89,19 @@ mv compare-locales $SOURCEDIR/python/ mkdir l10n cd l10n - - -echo Downloading translations in parallel while read line;do - hg clone http://hg.mozilla.org/releases/l10n/mozilla-release/$line > /dev/null & -done < ../$SOURCEDIR/browser/locales/shipped-locales - -wait -echo Done downloading translations in parallel - -for dir in *; do - cd $dir + line=$(echo $line |cut -d' ' -f1) + #[ $line = "es-ES" ] || continue + [ $line = "en-US" ] && continue + hg clone http://hg.mozilla.org/releases/l10n/mozilla-release/$line + cd $line hg checkout FIREFOX_31_0esr_RELEASE || true hg checkout FIREFOX_${FFMAJOR}_${FFMINOR}_${FFSUB}esr_RELEASE || true - mkdir -p browser/chrome/browser/preferences - touch browser/chrome/browser/preferences/advanced-scripts.dtd + mkdir -p $line/browser/chrome/browser/preferences + touch $line/browser/chrome/browser/preferences/advanced-scripts.dtd rm -rf .hg* cd .. -done +done < ../$SOURCEDIR/browser/locales/shipped-locales cd .. mv l10n $SOURCEDIR |