diff options
| author | ruki <[email protected]> | 2026-02-05 23:32:16 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-02-05 23:32:16 +0800 |
| commit | 1217203dfa19c618b1b3da096fd3eb420f38d071 (patch) | |
| tree | 97f2dba1fb5de7b5bb4a7b5a2d2d891b1842fae7 | |
| parent | e477f933dd068884b332f147bd8e2bcddd873a7f (diff) | |
fix os.isexec
| -rw-r--r-- | xmake/core/base/os.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index 12bc30c1d..0b8e2e6ab 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -1187,7 +1187,7 @@ function os.isexec(filepath) end end elseif os.isfile(filepath) then - return os._access(filepath, "x") + return os._access and os._access(filepath, "x") or true end return false end |
