diff options
| author | ruki <[email protected]> | 2017-06-01 11:23:19 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-06-01 11:23:19 +0800 |
| commit | 2743cb2ee2b2640bbb22aa39d63c134563949a05 (patch) | |
| tree | 937f1ac22b73da7bb6149bdb99671e80074dc879 /xmake/core/base | |
| parent | 95a3f4499e5fb575613b4192519a53d323a7a19c (diff) | |
improve find program, file and path modules
Diffstat (limited to 'xmake/core/base')
| -rw-r--r-- | xmake/core/base/filter.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/filter.lua b/xmake/core/base/filter.lua index b84c5f8e6..27442cf7c 100644 --- a/xmake/core/base/filter.lua +++ b/xmake/core/base/filter.lua @@ -87,7 +87,7 @@ function filter.reg(path) end -- query registry value - return (winreg.query(regpath)) + return (winreg.query(path)) end -- register handler @@ -110,7 +110,7 @@ function filter:get(variable, handler) elseif variable:startswith("env ") then return filter.env(variable:sub(5)) elseif variable:startswith("reg ") then - return filter:reg(variable:sub(5)) + return filter.reg(variable:sub(5)) end -- parse variable:mode |
