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)
|
||||
if config:
|
||||
return config
|
||||
return os.path.expanduser(config)
|
||||
return os.path.join(self.bin_root(), "bin", "{}{}".format(
|
||||
program, self.exe_suffix()))
|
||||
|
||||
|
|
Loading…
Reference in New Issue