Skip to content

Commit 5779f5f

Browse files
committed
revert to find_program
1 parent bb7fa2b commit 5779f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/core/sandbox/modules/import/lib/detect/find_program.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function sandbox_lib_detect_find_program._check(program, opt)
8686
findname = program
8787
end
8888
if sandbox_lib_detect_find_program._do_check(findname, opt) then
89-
return findname
89+
return program
9090
-- check "zig c++" without ".exe"
9191
-- https://github.com/xmake-io/xmake/issues/2232
9292
elseif findname ~= program and path.filename(program):find(" ", 1, true) and

0 commit comments

Comments
 (0)