added patch to allow l10n to run on windows

This commit is contained in:
Bert van der Weerd 2022-05-25 13:53:01 +02:00
parent 9709e3f62f
commit e0081cf49e
No known key found for this signature in database
GPG key ID: 73370A0B9E5516B0
2 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,12 @@
diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuild/mach_commands.py
index 10d7a8f..0ce2ee3 100644
--- a/python/mozbuild/mozbuild/mach_commands.py
+++ b/python/mozbuild/mozbuild/mach_commands.py
@@ -2457,6 +2457,7 @@ def package_l10n(command_context, verbose=False, locales=[]):
)
command_context.run_process(
[
+ "python3",
mozpath.join(command_context.topsrcdir, "mach"),
"build",
"chrome-{}".format(locale),

1
mk.py
View file

@ -102,6 +102,7 @@ def build(debug=False):
patch('../assets/package-manifest.patch')
patch('../assets/disable-verify-mar.patch')
patch('../assets/tryfix-reslink-fail.patch')
patch('../assets/fix-l10n-package-cmd.patch')
# perform the build and package.
exec('./mach build')