mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Allow passing a path with tilde
This commit is contained in:
parent
b7960878ba
commit
0dde8cdd40
@ -532,7 +532,7 @@ class RustBuild(object):
|
|||||||
"""
|
"""
|
||||||
config = self.get_toml(program)
|
config = self.get_toml(program)
|
||||||
if config:
|
if config:
|
||||||
return config
|
return os.path.expanduser(config)
|
||||||
return os.path.join(self.bin_root(), "bin", "{}{}".format(
|
return os.path.join(self.bin_root(), "bin", "{}{}".format(
|
||||||
program, self.exe_suffix()))
|
program, self.exe_suffix()))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user