summaryrefslogtreecommitdiff
path: root/enable-object-directory-paths.patch
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2018-01-02 11:35:44 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2018-01-02 11:35:44 -0800
commit699e016f30bdde0bb0f9a53c9d7ac273448320fb (patch)
tree8d82f48d72c4b2b588c66dfbc216d857f7e035cb /enable-object-directory-paths.patch
downloadiceweasel-699e016f30bdde0bb0f9a53c9d7ac273448320fb.tar.xz
"Initial commit"
Diffstat (limited to 'enable-object-directory-paths.patch')
-rw-r--r--enable-object-directory-paths.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/enable-object-directory-paths.patch b/enable-object-directory-paths.patch
new file mode 100644
index 0000000..7cfbdd3
--- /dev/null
+++ b/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
+@@ -468,8 +468,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)