about summary refs log tree commit diff
path: root/src/bootstrap/bootstrap.py
diff options
context:
space:
mode:
authortopecongiro <seuchida@gmail.com>2017-10-19 06:22:32 +0900
committertopecongiro <seuchida@gmail.com>2017-10-19 06:22:32 +0900
commit0dde8cdd40437f26bccfcbbf73a0dfa720702d2f (patch)
treec16e4a3b7fb2345ca7667e8fbe7256510215dcf0 /src/bootstrap/bootstrap.py
parentb7960878ba77124505aabe7dc99d0a898354c326 (diff)
downloadrust-0dde8cdd40437f26bccfcbbf73a0dfa720702d2f.tar.gz
rust-0dde8cdd40437f26bccfcbbf73a0dfa720702d2f.zip
Allow passing a path with tilde
Diffstat (limited to 'src/bootstrap/bootstrap.py')
-rw-r--r--src/bootstrap/bootstrap.py2
1 files changed, 1 insertions, 1 deletions
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()))