diff options
Diffstat (limited to 'xmake/core/tool/tool.lua')
| -rw-r--r-- | xmake/core/tool/tool.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/tool.lua b/xmake/core/tool/tool.lua index 209673e6e..8bd41d498 100644 --- a/xmake/core/tool/tool.lua +++ b/xmake/core/tool/tool.lua @@ -255,7 +255,7 @@ function tool.check(shellname, dirs, check) -- the tool path local toolpath = path.join(dir, shellname) - if os.isfile(toolpath) then + if os.isexec(toolpath) then -- check it if tool._check(toolpath, check) then |
