diff options
author | Adam Casey <adamncasey@gmail.com> | 2016-01-27 11:09:45 +0000 |
---|---|---|
committer | Adam Casey <adamncasey@gmail.com> | 2016-01-27 11:09:45 +0000 |
commit | 74524f03c47bbca39990bfbaa9b423f8a9a6dd36 (patch) | |
tree | 2d2077fb42c57776c23e5efa784a9fd2ad60b7a5 /python/servo/command_base.py | |
parent | 2dd4e5d164c56f50c94cd542c5414afc21b51882 (diff) | |
download | servo-74524f03c47bbca39990bfbaa9b423f8a9a6dd36.tar.gz servo-74524f03c47bbca39990bfbaa9b423f8a9a6dd36.zip |
Prepend PATH extras instead of append.
Fixes multirust issue #9437
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r-- | python/servo/command_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py index e8164acd6d8..431bb64fd44 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -273,7 +273,7 @@ class CommandBase(object): path.join(self.config["tools"]["cargo-root"], "bin")] if extra_path: - env["PATH"] = "%s%s%s" % (env["PATH"], os.pathsep, os.pathsep.join(extra_path)) + env["PATH"] = "%s%s%s" % (os.pathsep.join(extra_path), os.pathsep, env["PATH"]) if "CARGO_HOME" not in env: env["CARGO_HOME"] = self.config["tools"]["cargo-home-dir"] |