summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaikari <[email protected]>2026-02-16 00:04:40 +0300
committerSaikari <[email protected]>2026-02-16 00:04:40 +0300
commitaf2c806cc9a2ea513a61179b86e9a7333c82ae21 (patch)
tree257c699476bdc784175a5bd420e7666ca758495a
parente7fe0d2de16824d602158e4f7e837a814d95a0a8 (diff)
retry
-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 f47e35c02..5040802a9 100644
--- a/xmake/core/sandbox/modules/import/lib/detect/find_program.lua
+++ b/xmake/core/sandbox/modules/import/lib/detect/find_program.lua
@@ -41,7 +41,7 @@ local scheduler = require("sandbox/modules/import/core/base/scheduler")
function sandbox_lib_detect_find_program._do_check(program, opt)
-- avoid gcc.exe signed by GIGA-BYTE
- if winos.file_signature and program:lower():match("gcc%.exe$") then
+ if winos.file_signature and program:lower():match("gcc%.exe") then
local signer = winos.file_signature(program)
if signer and signer.signer and signer.signer:find("GIGA-BYTE", 1, true) then
return false