mirror of https://gitlab.com/ita1024/waf.git
Typo
This commit is contained in:
parent
5122ef89f2
commit
97a54d72da
|
@ -499,7 +499,7 @@ def find_binary(self, filenames, exts, paths):
|
|||
for ext in exts:
|
||||
exe_name = f + ext
|
||||
if os.path.isabs(exe_name):
|
||||
if os.path.isfile(exe_name) and os.access(x, os.X_OK):
|
||||
if os.path.isfile(exe_name) and os.access(exe_name, os.X_OK):
|
||||
return exe_name
|
||||
else:
|
||||
for path in paths:
|
||||
|
|
Loading…
Reference in New Issue