aboutsummaryrefslogtreecommitdiffstats
path: root/python/mach_bootstrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/mach_bootstrap.py')
-rw-r--r--python/mach_bootstrap.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/python/mach_bootstrap.py b/python/mach_bootstrap.py
index aded4c0a0e9..f94f2c6f772 100644
--- a/python/mach_bootstrap.py
+++ b/python/mach_bootstrap.py
@@ -293,6 +293,10 @@ def bootstrap(topdir):
mach.define_category(category, meta['short'], meta['long'], meta['priority'])
for path in MACH_MODULES:
- mach.load_commands_from_file(os.path.join(topdir, path))
+ # explicitly provide a module name
+ # workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1549636
+ file = os.path.basename(path)
+ module_name = os.path.splitext(file)[0]
+ mach.load_commands_from_file(os.path.join(topdir, path), module_name)
return mach