From 383c46c282fe0fcd82e2bc8a2d227cd0528af262 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 2 Jul 2016 22:01:17 +0800 Subject: fix check bug for android on windows --- xmake/core/tool/tool.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/core/tool/tool.lua') 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 -- cgit v1.3.1