From 6428701474f6416618439c958f31383e594b2a02 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Tue, 10 Mar 2015 22:03:35 +0000 Subject: Revert "Download translations in parallel" This reverts commit 5a5a0acd3b2fc94993ca5e207004492fff839b51. --- makeicecat | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) mode change 100755 => 100644 makeicecat (limited to 'makeicecat') diff --git a/makeicecat b/makeicecat old mode 100755 new mode 100644 index a8a471a..3b94d0a --- 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 -- cgit v1.2.3