diff options
| author | ruki <[email protected]> | 2016-04-23 20:02:18 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-04-23 20:02:18 +0800 |
| commit | 48a228f6bb2e4870bf0e4952c0c752ddeae72219 (patch) | |
| tree | 933c64e6834ef2d5a05ebd52eaffb210737b9033 /xmake/core/tool/tool.lua | |
| parent | 31e930871e159dc022ddd1f7a326fcc120e2fb00 (diff) | |
add iphoneos platform
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 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 |
