From 6686daaa3a9f5b374d9e4cb79ad5a2b733ea0456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Wed, 15 Jun 2022 11:48:45 +0200 Subject: [PATCH] update `faster-package-multi-locale.patch` --- patches/faster-package-multi-locale.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/faster-package-multi-locale.patch b/patches/faster-package-multi-locale.patch index 2e7e476..e61151a 100644 --- a/patches/faster-package-multi-locale.patch +++ b/patches/faster-package-multi-locale.patch @@ -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,