mirror of
https://github.com/servo/servo.git
synced 2025-06-20 07:08:59 +01:00
Change the separator used in rust path into os.path.join
This commit is contained in:
parent
91cee66fe8
commit
55af3e3c27
1 changed files with 2 additions and 2 deletions
|
@ -286,9 +286,9 @@ class CommandBase(object):
|
|||
def rust_path(self):
|
||||
version = self.rust_version()
|
||||
if self._use_stable_rust:
|
||||
return "%s/rustc-%s-%s" % (version, version, host_triple())
|
||||
return os.path.join(version, "rustc-%s-%s" % (version, host_triple()))
|
||||
else:
|
||||
return "%s/rustc-nightly-%s" % (version, host_triple())
|
||||
return os.path.join(version, "rustc-nightly-%s" % (host_triple()))
|
||||
|
||||
def rust_version(self):
|
||||
if self._rust_version is None or self._use_stable_rust != self._rust_version_is_stable:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue