added patch to allow l10n to run on windows
This commit is contained in:
parent
9709e3f62f
commit
e0081cf49e
2 changed files with 14 additions and 1 deletions
12
assets/fix-l10n-package-cmd.patch
Normal file
12
assets/fix-l10n-package-cmd.patch
Normal 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),
|
||||||
3
mk.py
3
mk.py
|
|
@ -102,7 +102,8 @@ def build(debug=False):
|
||||||
patch('../assets/package-manifest.patch')
|
patch('../assets/package-manifest.patch')
|
||||||
patch('../assets/disable-verify-mar.patch')
|
patch('../assets/disable-verify-mar.patch')
|
||||||
patch('../assets/tryfix-reslink-fail.patch')
|
patch('../assets/tryfix-reslink-fail.patch')
|
||||||
|
patch('../assets/fix-l10n-package-cmd.patch')
|
||||||
|
|
||||||
# perform the build and package.
|
# perform the build and package.
|
||||||
exec('./mach build')
|
exec('./mach build')
|
||||||
exec('./mach package')
|
exec('./mach package')
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue