mozilla-xulrunner193/create-tar.sh
changeset 78 e0271a18500f
parent 76 93fb7400b957
child 85 eccead3edf2c
--- a/mozilla-xulrunner193/create-tar.sh	Wed Jun 09 07:53:55 2010 +0200
+++ b/mozilla-xulrunner193/create-tar.sh	Wed Jun 09 10:40:14 2010 +0200
@@ -1,12 +1,13 @@
 #!/bin/bash
 
-RELEASE_TAG="FIREFOX_3_6_4_RELEASE"
-VERSION="1.9.2.4"
+BRANCH="mozilla-central"
+RELEASE_TAG="default"
+VERSION="1.9.3a4"
 
 # mozilla
-hg clone http://hg.mozilla.org/releases/mozilla-1.9.2 mozilla
+hg clone http://hg.mozilla.org/$BRANCH mozilla
 pushd mozilla
-hg update -r $RELEASE_TAG
+[ "$RELEASE_TAG" == "default" ] || hg update -r $RELEASE_TAG
 popd
 tar cjf xulrunner-source-$VERSION.tar.bz2 --exclude=.hgtags --exclude=.hgignore --exclude=.hg --exclude=CVS mozilla
 
@@ -17,8 +18,8 @@
     ja-JP-mac|en-US)
       ;;
     *)
-      hg clone http://hg.mozilla.org/releases/l10n-mozilla-1.9.2/$locale l10n/$locale
-      hg -R l10n/$locale up -C -r $RELEASE_TAG
+      hg clone http://hg.mozilla.org/l10n-central/$locale l10n/$locale
+      [ "$RELEASE_TAG" == "default" ] || hg -R l10n/$locale up -C -r $RELEASE_TAG
       ;;
   esac
 done