diff options
| author | Saikari <[email protected]> | 2026-02-02 13:45:17 +0300 |
|---|---|---|
| committer | Saikari <[email protected]> | 2026-02-02 13:45:17 +0300 |
| commit | 081a3360c9d4c7d15ec035129edd25719e9fd9ab (patch) | |
| tree | cbf4749f34778b6a046341035134eb795d4fd360 /tests/modules/stdin/test.lua | |
| parent | a7d56edc0dfdcfce0d4c0eb56465c63c86bf5f98 (diff) | |
refactor: correct variable usage for ape programfile detection in main function
Diffstat (limited to 'tests/modules/stdin/test.lua')
| -rw-r--r-- | tests/modules/stdin/test.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/stdin/test.lua b/tests/modules/stdin/test.lua index 4d24d1dd6..985346d39 100644 --- a/tests/modules/stdin/test.lua +++ b/tests/modules/stdin/test.lua @@ -32,7 +32,7 @@ function main(t) -- Fix pwsh and cosmocc "err: ape error: l: not found (maybe chmod +x or ./ needed)" for Linux xmake = fix_ape_programfile(xmake) - local is_ape = binutils.format(os.programfile()) == "ape" + local is_ape = binutils.format(xmake) == "ape" local run_stdin = string.format('"%s" l --stdin', xmake) if not is_host("windows") then |
