summaryrefslogtreecommitdiff
path: root/xmake/core/tool/tool.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-04-23 20:02:18 +0800
committerruki <[email protected]>2016-04-23 20:02:18 +0800
commit48a228f6bb2e4870bf0e4952c0c752ddeae72219 (patch)
tree933c64e6834ef2d5a05ebd52eaffb210737b9033 /xmake/core/tool/tool.lua
parent31e930871e159dc022ddd1f7a326fcc120e2fb00 (diff)
add iphoneos platform
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 a6d077de5..2c8ef6ee0 100644
--- a/xmake/core/tool/tool.lua
+++ b/xmake/core/tool/tool.lua
@@ -117,7 +117,7 @@ function tool._load(shellname)
-- find the tool script path
local toolpath = nil
- local toolname = path.basename(shellname)
+ local toolname = path.filename(shellname)
for _, dir in ipairs(tool._directories()) do
-- find this directory