summaryrefslogtreecommitdiff
path: root/xmake/core/tool/tool.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-02 22:01:17 +0800
committerruki <[email protected]>2016-07-02 22:01:17 +0800
commit383c46c282fe0fcd82e2bc8a2d227cd0528af262 (patch)
tree40b8247e9542856b1e1187ef9066796f0ce70d7d /xmake/core/tool/tool.lua
parentaf3465afb3f509904099170b986f46937784b3e5 (diff)
fix check bug for android on windows
Diffstat (limited to 'xmake/core/tool/tool.lua')
-rw-r--r--xmake/core/tool/tool.lua2
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