mirror of https://gitlab.com/ita1024/waf.git
Typo
This commit is contained in:
parent
a739525f3e
commit
38966242f0
|
@ -496,7 +496,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