mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #9440 - adamncasey:fix-multirust, r=jdm
Prepend PATH extras instead of append (Fix Issue #9437) Should fix multirust issue https://github.com/servo/servo/issues/9437 which appeared after https://github.com/servo/servo/pull/9415 landed. @jdm to confirm <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9440) <!-- Reviewable:end -->
This commit is contained in:
commit
03b763c2c5
1 changed files with 1 additions and 1 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue