diff options
| author | Saikari <[email protected]> | 2026-02-16 19:41:17 +0300 |
|---|---|---|
| committer | Saikari <[email protected]> | 2026-02-16 19:41:17 +0300 |
| commit | 56581ecfdc1fc6982a03b9575fb66c2821f8aedd (patch) | |
| tree | d8382c0d54306301136e22ffd70d126cff1b4f36 | |
| parent | f024c37ca77bec28ffa7377af56ae8f0b189a4b3 (diff) | |
retry
| -rw-r--r-- | xmake/core/sandbox/modules/import/lib/detect/find_program.lua | 2 |
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 18abf37a2..6bd140b12 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 opt.norunfile and path.is_absolute(program) and os.isfile(program) then + elseif not opt.check and opt.norunfile and path.is_absolute(program) and os.isfile(program) then return true end |
