summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)