From 3774d82b0004a7adca704ab2de70c65270bf92b7 Mon Sep 17 00:00:00 2001 From: Saikari Date: Tue, 17 Feb 2026 22:59:49 +0300 Subject: clear --- xmake/core/sandbox/modules/import/lib/detect/find_program.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1