summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/tools/find_codesign.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/detect/tools/find_codesign.lua')
-rw-r--r--xmake/modules/detect/tools/find_codesign.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_codesign.lua b/xmake/modules/detect/tools/find_codesign.lua
index 2dc5d0b75..54967ecda 100644
--- a/xmake/modules/detect/tools/find_codesign.lua
+++ b/xmake/modules/detect/tools/find_codesign.lua
@@ -45,7 +45,7 @@ function main(opt)
-- init options
opt = opt or {}
opt.check = function (program)
- os.execv(program, {"-d", "/bin/echo"})
+ os.runv(program, {"-d", "/bin/echo"})
end
-- find program