Created
April 28, 2014 21:25
-
-
Save dhylands/11384517 to your computer and use it in GitHub Desktop.
Fetch gaia-l10n repos
This file contains hidden or 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
#!/usr/bin/python | |
import json | |
import subprocess | |
locales = json.load(open("/home/work/B2G-unagi/gaia/locales/languages_all.json")); | |
for key, val in locales.items(): | |
cmd = ["hg", "clone", "http://hg.mozilla.org/gaia-l10n/" + key, key] | |
print " ".join(cmd) | |
output = subprocess.check_output(cmd) | |
print output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Edit line 6 to match your build tree