mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 13:43:04 -05:00
update faster-package-multi-locale.patch
This commit is contained in:
parent
99c6180113
commit
6686daaa3a
1 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuil
|
|||
- )
|
||||
- locales.append("en-US")
|
||||
- locales = list(sorted(locales))
|
||||
+ locales = list(filter(lambda locale: locale != "en-US", sorted(locales)))
|
||||
+ locales = sorted(locale for locale in locales if locale != "en-US")
|
||||
|
||||
append_env = {
|
||||
# We are only (re-)packaging, we don't want to (re-)build
|
||||
|
@ -73,8 +73,8 @@ diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuil
|
|||
+ "Processing chrome Gecko resources for locales {locales}",
|
||||
+ )
|
||||
+ command_context._run_make(
|
||||
+ directory=mozpath.join(command_context.topobjdir),
|
||||
+ target=list(map(lambda locale: "chrome-{}".format(locale), locales)),
|
||||
+ directory=command_context.topobjdir,
|
||||
+ target=["chrome-{}".format(locale) for locale in locales],
|
||||
+ append_env=append_env,
|
||||
+ pass_thru=False,
|
||||
+ print_directory=False,
|
||||
|
|
Loading…
Reference in a new issue