commit 46d3e865b94ac18be85957b5ea2fa3ef373882de parent c1d28fee123324e380c8a6845d577fb2f935a7bb Author: Mark H Weaver <mhw@netris.org> Date: Sat, 16 Nov 2019 22:16:49 -0500 Fix is_manifest predicate to exclude cose.manifest files. * data/patches/fix-is_manifest.patch: New file. Diffstat:
| A | data/patches/fix-is_manifest.patch | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/data/patches/fix-is_manifest.patch b/data/patches/fix-is_manifest.patch @@ -0,0 +1,9 @@ +--- a/python/mozbuild/mozpack/chrome/manifest.py.orig 1980-01-01 18:59:51.000000000 -0500 ++++ b/python/mozbuild/mozpack/chrome/manifest.py 2019-11-16 22:14:47.497320339 -0500 +@@ -368,4 +368,5 @@ + Return whether the given path is that of a manifest file. + ''' + return path.endswith('.manifest') and not path.endswith('.CRT.manifest') \ +- and not path.endswith('.exe.manifest') ++ and not path.endswith('.exe.manifest') and not path.endswith('cose.manifest') ++