diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-09-08 21:15:07 +0200 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-09-08 21:16:02 +0200 |
commit | 244af42d89f310665d4737644d4335924d87716d (patch) | |
tree | a3be0522e90f3a92b6ffb4155c9301dacb8b21a6 /python/mach_bootstrap.py | |
parent | ca36779a7e8298918b21ae243a43a71b1520119b (diff) | |
download | servo-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.py | 16 |
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'), ] |