mirror of https://gitlab.com/ita1024/waf.git
Workaround for unreadable home folders
This commit is contained in:
parent
0ab704f5a4
commit
028ecf43df
|
@ -76,7 +76,11 @@ def waf_entry_point(current_directory, version, wafdir):
|
|||
# at the same time, store the first wscript file seen
|
||||
cur = current_directory
|
||||
while cur and not Context.top_dir:
|
||||
try:
|
||||
lst = os.listdir(cur)
|
||||
except OSError:
|
||||
lst = []
|
||||
Logs.error('Directory %r is unreadable!' % cur)
|
||||
if Options.lockfile in lst:
|
||||
env = ConfigSet.ConfigSet()
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue