Skip to content

Instantly share code, notes, and snippets.

@willyaranda
Created April 22, 2012 16:58
Show Gist options
  • Save willyaranda/2465298 to your computer and use it in GitHub Desktop.
Save willyaranda/2465298 to your computer and use it in GitHub Desktop.
updating script for mozilla l10n team (es-ES)
#!/bin/bash
REPO_PATH="/Volumes/MOZILLA/repos/geckoTRUNK"
REPO_VERSION="central"
LOCALE="es-ES"
echo "1- Updating main repo"
cd $REPO_PATH/mozilla-central
hg pull -u
echo ""
echo "2 - Updating repo for $LOCALE"
cd $REPO_PATH/$LOCALE
hg pull -u
echo ""
echo "3 - Running compare-locales between $LOCALE and en-US for browser"
cd $REPO_PATH
compare-locales mozilla-$REPO_VERSION/browser/locales/l10n.ini . $LOCALE
echo ""
echo "4 - Running compare-locales between es-ES and en-US for mobile"
cd $REPO_PATH
compare-locales mozilla-$REPO_VERSION/mobile/locales/l10n.ini . $LOCALE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment