From 0dde8cdd40437f26bccfcbbf73a0dfa720702d2f Mon Sep 17 00:00:00 2001 From: topecongiro Date: Thu, 19 Oct 2017 06:22:32 +0900 Subject: [PATCH] Allow passing a path with tilde --- src/bootstrap/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index c441dc9acb8..0ab4c79e3b2 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -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()))