summaryrefslogtreecommitdiff
path: root/src/patches/iceweasel-branding/enable-object-directory-paths.patch
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-25 13:49:07 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-25 13:49:07 +0100
commit7b6d9cd0a705601c6b37d323df326004024438a7 (patch)
tree3e734f8aa5eb6aead397c663e1944aa76142a10e /src/patches/iceweasel-branding/enable-object-directory-paths.patch
parent2af8ca120511bd90a6919be60f1cf6c830136244 (diff)
updated to 58.0 branding58.0-158.0
Diffstat (limited to 'src/patches/iceweasel-branding/enable-object-directory-paths.patch')
-rw-r--r--src/patches/iceweasel-branding/enable-object-directory-paths.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/patches/iceweasel-branding/enable-object-directory-paths.patch b/src/patches/iceweasel-branding/enable-object-directory-paths.patch
new file mode 100644
index 0000000..4c7b035
--- /dev/null
+++ b/src/patches/iceweasel-branding/enable-object-directory-paths.patch
@@ -0,0 +1,13 @@
+diff --git a/python/mozbuild/mozbuild/frontend/context.py b/python/mozbuild/mozbuild/frontend/context.py
+index 41ae8ae..dcc3263 100644
+--- a/python/mozbuild/mozbuild/frontend/context.py
++++ b/python/mozbuild/mozbuild/frontend/context.py
+@@ -617,8 +617,6 @@ class Path(ContextDerivedValue, unicode):
+ class SourcePath(Path):
+ """Like Path, but limited to paths in the source directory."""
+ def __init__(self, context, value):
+- if value.startswith('!'):
+- raise ValueError('Object directory paths are not allowed')
+ if value.startswith('%'):
+ raise ValueError('Filesystem absolute paths are not allowed')
+ super(SourcePath, self).__init__(context, value)