xulrunner/create-tar.sh
branchesr24
changeset 698 8066b2bdabfb
parent 678 d0329e10d68c
child 713 3c7719dfcafa
equal deleted inserted replaced
690:9291d123ef2b 698:8066b2bdabfb
     1 #!/bin/bash
     1 #!/bin/bash
     2 
     2 
     3 CHANNEL="esr24"
     3 CHANNEL="esr24"
     4 BRANCH="releases/mozilla-$CHANNEL"
     4 BRANCH="releases/mozilla-$CHANNEL"
     5 RELEASE_TAG="FIREFOX_24_1_0esr_RELEASE"
     5 RELEASE_TAG="FIREFOX_24_2_0esr_RELEASE"
     6 VERSION="24.1.0"
     6 VERSION="24.2.0"
     7 
     7 
     8 # mozilla
     8 # mozilla
     9 if [ -d mozilla ]; then
     9 if [ -d mozilla ]; then
    10   pushd mozilla
    10   pushd mozilla
    11   _repourl=$(hg paths)
    11   _repourl=$(hg paths)
    45   case $locale in
    45   case $locale in
    46     ja-JP-mac|en-US)
    46     ja-JP-mac|en-US)
    47       ;;
    47       ;;
    48     *)
    48     *)
    49       echo "fetching $locale ..."
    49       echo "fetching $locale ..."
    50       hg clone http://hg.mozilla.org/releases/l10n/mozilla-$CHANNEL/$locale l10n/$locale
    50       hg clone http://hg.mozilla.org/releases/l10n/mozilla-release/$locale l10n/$locale
    51       [ "$RELEASE_TAG" == "default" ] || hg -R l10n/$locale up -C -r $RELEASE_TAG
    51       [ "$RELEASE_TAG" == "default" ] || hg -R l10n/$locale up -C -r $RELEASE_TAG
    52       ;;
    52       ;;
    53   esac
    53   esac
    54 done
    54 done
    55 echo "creating l10n archive..."
    55 echo "creating l10n archive..."