Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug 799806, fix libmar compiles for thunderbird release repacks too, …

…r=bhearsum
  • Loading branch information...
commit 00c9bd34ccebdf7f64b18834169629b19ebadaba 1 parent c9eddbb
@nthomas-mozilla nthomas-mozilla authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 lib/python/build/l10n.py
View
8 lib/python/build/l10n.py
@@ -48,10 +48,12 @@ def l10nRepackPrep(sourceRepoName, objdir, mozconfigPath,
shutil.copy(mozconfigPath, path.join(sourceRepoName, ".mozconfig"))
run_cmd(["make", "-f", "client.mk", "configure"], cwd=sourceRepoName,
env=env)
+ # we'll get things like (config, tier_base) for Firefox releases
+ # and (mozilla/config, mozilla/tier_base) for Thunderbird releases
for dir in makeDirs:
- if dir.startswith("tier"):
- run_cmd(["make", dir],
- cwd=path.join(sourceRepoName, objdir),
+ if path.basename(dir).startswith("tier"):
+ run_cmd(["make", path.basename(dir)],
+ cwd=path.join(sourceRepoName, objdir, path.dirname(dir)),
env=env)
else:
run_cmd(["make"],
Please sign in to comment.
Something went wrong with that request. Please try again.