[PATCH] D50915: [LNT] In command-line tool expand tilde when resolving commands.
Volodymyr Sapsai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 17 15:39:31 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL340106: [LNT] In command-line tool expand tilde when resolving commands. (authored by vsapsai, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D50915?vs=161296&id=161351#toc
Repository:
rL LLVM
https://reviews.llvm.org/D50915
Files:
lnt/trunk/lnt/testing/util/commands.py
Index: lnt/trunk/lnt/testing/util/commands.py
===================================================================
--- lnt/trunk/lnt/testing/util/commands.py
+++ lnt/trunk/lnt/testing/util/commands.py
@@ -114,6 +114,8 @@
executable.
"""
+ name = os.path.expanduser(name)
+
# If the given name exists (or is a path), make it absolute.
if os.path.exists(name):
return os.path.abspath(name)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50915.161351.patch
Type: text/x-patch
Size: 421 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180817/294425e1/attachment.bin>
More information about the llvm-commits
mailing list