Permalink
Browse files

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

…r=bhearsum
  • Loading branch information...
1 parent c9eddbb commit 00c9bd34ccebdf7f64b18834169629b19ebadaba @nthomas-mozilla nthomas-mozilla committed Oct 11, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −3 lib/python/build/l10n.py
View
@@ -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"],

0 comments on commit 00c9bd3

Please sign in to comment.