Created
April 22, 2012 16:58
-
-
Save willyaranda/2465298 to your computer and use it in GitHub Desktop.
updating script for mozilla l10n team (es-ES)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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