Not sure what's wrong with the script but somehow we are downloading the wrong locale: $ ./download.py --type=daily --locale=nl --platform=mac --directory=builds Downloading build: http://stage.mozilla.org/pub/mozilla.org/firefox//nightly/latest-mozilla-central-l10n//firefox-9.0a1.fy-NL.mac.dmg
Created attachment 557318 [details] [diff] [review] Patch v1 This patch updates the regular expressions for the binary filename. We really have to check that the given locale is enclosed in dots. Otherwise we fetch the wrong build, e.g. nl -> fy-NL. I have also update the helper strings in the download script to make it clear that when no date is given we download the latest build of the specified branch and that the version doesn't apply for daily builds.
Comment on attachment 557318 [details] [diff] [review] Patch v1 it might be better to dynamically generate the regex from component parts rather than having to change each regex for only a few things that vary
Created attachment 557451 [details] [diff] [review] Patch v1.1 Incorporates the proposal and moves out the regex for the base filename to it's own variable.