summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaikari <[email protected]>2026-02-17 22:59:49 +0300
committerSaikari <[email protected]>2026-02-17 22:59:49 +0300
commit3774d82b0004a7adca704ab2de70c65270bf92b7 (patch)
tree61ed22ced7558e3096146ef19634980ad126f53c
parent387e1c258a5c4bef446b6d18fcffd93cc25c1543 (diff)
clear
-rw-r--r--xmake/core/sandbox/modules/import/lib/detect/find_program.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/lib/detect/find_program.lua b/xmake/core/sandbox/modules/import/lib/detect/find_program.lua
index fd8908bdf..a5909abdd 100644
--- a/xmake/core/sandbox/modules/import/lib/detect/find_program.lua
+++ b/xmake/core/sandbox/modules/import/lib/detect/find_program.lua
@@ -43,7 +43,7 @@ function sandbox_lib_detect_find_program._do_check(program, opt)
-- do not attempt to run program? check it fastly
if opt.norun then
return os.isfile(program)
- elseif not opt.check and opt.norunfile and path.is_absolute(program) and os.isfile(program) then
+ elseif opt.norunfile and path.is_absolute(program) and os.isfile(program) then
return true
end