mirror of https://gitlab.com/ita1024/waf.git
Enabled usage of home folder/tilde ~ in Configure.find_files
This commit is contained in:
parent
975fdde91b
commit
921483b335
|
@ -416,7 +416,7 @@ def find_file(self, filename, path_list=[]):
|
|||
"""
|
||||
for n in Utils.to_list(filename):
|
||||
for d in Utils.to_list(path_list):
|
||||
p = os.path.join(d, n)
|
||||
p = os.path.join(os.path.expanduser(d), n)
|
||||
if os.path.exists(p):
|
||||
return p
|
||||
self.fatal('Could not find %r' % filename)
|
||||
|
|
Loading…
Reference in New Issue