Allow passing a path with tilde

This commit is contained in:
topecongiro 2017-10-19 06:22:32 +09:00
parent b7960878ba
commit 0dde8cdd40
1 changed files with 1 additions and 1 deletions

View File

@ -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()))