summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxq114 <[email protected]>2021-05-30 22:25:54 +0800
committerxq114 <[email protected]>2021-05-30 22:25:54 +0800
commitfe23b2c563b1188efdab9cebdb6c5153e94478af (patch)
tree495cdb582b20417fca95620a8862993fc847b8a4
parentf0c042b6c04e4e535d7f13304975f08d6cba1c39 (diff)
fix typo
-rw-r--r--xmake/modules/detect/tools/find_perl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_perl.lua b/xmake/modules/detect/tools/find_perl.lua
index 1a0fec242..a930d5891 100644
--- a/xmake/modules/detect/tools/find_perl.lua
+++ b/xmake/modules/detect/tools/find_perl.lua
@@ -45,7 +45,7 @@ function main(opt)
if is_host("windows") then
table.insert(paths, "$(reg HKEY_LOCAL_MACHINE\\SOFTWARE\\GitForWindows;InstallPath)\\usr\\bin")
end
- opt.pathes = paths
+ opt.paths = paths
-- find program
local program = find_program(opt.program or "perl", opt)