diff options
Diffstat (limited to 'makeicecat')
-rwxr-xr-x[-rw-r--r--] | makeicecat | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/makeicecat b/makeicecat index 75809c7..eb378cb 100644..100755 --- a/makeicecat +++ b/makeicecat @@ -89,19 +89,25 @@ mv compare-locales $SOURCEDIR/python/ mkdir l10n cd l10n + + +echo Downloading translations in parallel while read line;do - 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 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 hg checkout FIREFOX_31_0esr_RELEASE || true hg checkout FIREFOX_${FFMAJOR}_${FFMINOR}_${FFSUB}esr_RELEASE || true - mkdir -p $line/browser/chrome/browser/preferences - touch $line/browser/chrome/browser/preferences/advanced-scripts.dtd + mkdir -p browser/chrome/browser/preferences + touch browser/chrome/browser/preferences/advanced-scripts.dtd rm -rf .hg* cd .. -done < ../$SOURCEDIR/browser/locales/shipped-locales +done cd .. mv l10n $SOURCEDIR |