Bug 619258 - Release l10n repacks fail due to missing env variable. r=bhearsum
authorRail Aliev <rail@mozilla.com>
Wed, 15 Dec 2010 10:52:05 -0800
changeset 998 39f68d6c1732d727ee2aae359ecfb8536c85b69a
parent 997 2a95b1850bf2fab4cdca30548748d76ec6047bdb
child 999 07bfe719d03ab0c2f5d48e533b7bf9e414edfaa7
push id705
push userraliiev@mozilla.com
push dateWed, 15 Dec 2010 18:53:14 +0000
reviewersbhearsum
bugs619258
Bug 619258 - Release l10n repacks fail due to missing env variable. r=bhearsum
lib/python/build/l10n.py
--- a/lib/python/build/l10n.py
+++ b/lib/python/build/l10n.py
@@ -37,10 +37,11 @@ def repackLocale(locale, l10nRepoDir, l1
     repo = "/".join([l10nBaseRepo, locale])
     localeDir = path.join(l10nRepoDir, locale)
     mercurial(repo, localeDir)
     update(localeDir, revision=revision)
     
     compareLocales(compareLocalesRepo, locale, l10nRepoDir, localeSrcDir,
                    l10nIni, revision=revision, merge=merge)
     env["AB_CD"] = locale
+    env["LOCALE_MERGEDIR"] = "%s/merged" % localeSrcDir
     run_cmd(["make", "installers-%s" % locale], cwd=localeSrcDir, env=env)
     run_cmd(["make", "l10n-upload-%s" % locale], cwd=localeSrcDir, env=env)