aboutsummaryrefslogtreecommitdiffstats
path: root/python/mach_bootstrap.py
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-09-08 21:15:07 +0200
committerCorey Farwell <coreyf@rwell.org>2015-09-08 21:16:02 +0200
commit244af42d89f310665d4737644d4335924d87716d (patch)
treea3be0522e90f3a92b6ffb4155c9301dacb8b21a6 /python/mach_bootstrap.py
parentca36779a7e8298918b21ae243a43a71b1520119b (diff)
downloadservo-244af42d89f310665d4737644d4335924d87716d.tar.gz
servo-244af42d89f310665d4737644d4335924d87716d.zip
Use OS-agnostic filesystem paths in Python
This will eventually need to be done for #1908
Diffstat (limited to 'python/mach_bootstrap.py')
-rw-r--r--python/mach_bootstrap.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/python/mach_bootstrap.py b/python/mach_bootstrap.py
index 2e36b0cefc0..19b1ad666e8 100644
--- a/python/mach_bootstrap.py
+++ b/python/mach_bootstrap.py
@@ -11,18 +11,18 @@ import sys
from distutils.spawn import find_executable
SEARCH_PATHS = [
- "python/mach",
- "tests/wpt",
- "tests/wpt/harness",
+ os.path.join("python", "mach"),
+ os.path.join("tests", "wpt"),
+ os.path.join("tests", "wpt", "harness"),
]
# Individual files providing mach commands.
MACH_MODULES = [
- 'python/servo/bootstrap_commands.py',
- 'python/servo/build_commands.py',
- 'python/servo/testing_commands.py',
- 'python/servo/post_build_commands.py',
- 'python/servo/devenv_commands.py',
+ os.path.join('python', 'servo', 'bootstrap_commands.py'),
+ os.path.join('python', 'servo', 'build_commands.py'),
+ os.path.join('python', 'servo', 'testing_commands.py'),
+ os.path.join('python', 'servo', 'post_build_commands.py'),
+ os.path.join('python', 'servo', 'devenv_commands.py'),
]