mozilla-xulrunner192/create-tar.sh
branchmozilla-1.9.2
changeset 188 62645c4a1e68
parent 174 b3f909e83302
child 202 3306109c5899
equal deleted inserted replaced
184:e398c79b1668 188:62645c4a1e68
     1 #!/bin/bash
     1 #!/bin/bash
     2 
     2 
     3 RELEASE_TAG="FIREFOX_3_6_11_RELEASE"
     3 RELEASE_TAG="FIREFOX_3_6_12_RELEASE"
     4 VERSION="1.9.2.11"
     4 VERSION="1.9.2.12"
     5 
     5 
     6 # mozilla
     6 # mozilla
     7 hg clone http://hg.mozilla.org/releases/mozilla-1.9.2 mozilla
     7 hg clone http://hg.mozilla.org/releases/mozilla-1.9.2 mozilla
     8 pushd mozilla
     8 pushd mozilla
     9 hg update -r $RELEASE_TAG
     9 hg update -r $RELEASE_TAG
    11 tar cjf xulrunner-source-$VERSION.tar.bz2 --exclude=.hgtags --exclude=.hgignore --exclude=.hg --exclude=CVS mozilla
    11 tar cjf xulrunner-source-$VERSION.tar.bz2 --exclude=.hgtags --exclude=.hgignore --exclude=.hg --exclude=CVS mozilla
    12 
    12 
    13 # l10n
    13 # l10n
    14 test ! -d l10n && mkdir l10n
    14 test ! -d l10n && mkdir l10n
    15 for locale in $(awk '{ print $1; }' mozilla/browser/locales/shipped-locales); do
    15 for locale in $(awk '{ print $1; }' mozilla/browser/locales/shipped-locales); do
    16   case $locale in 
    16   case $locale in
    17     ja-JP-mac|en-US)
    17     ja-JP-mac|en-US)
    18       ;;
    18       ;;
    19     *)
    19     *)
    20       hg clone http://hg.mozilla.org/releases/l10n-mozilla-1.9.2/$locale l10n/$locale
    20       hg clone http://hg.mozilla.org/releases/l10n-mozilla-1.9.2/$locale l10n/$locale
    21       hg -R l10n/$locale up -C -r $RELEASE_TAG
    21       hg -R l10n/$locale up -C -r $RELEASE_TAG