diff options
| author | Saikari <[email protected]> | 2026-02-02 13:58:47 +0300 |
|---|---|---|
| committer | Saikari <[email protected]> | 2026-02-02 13:58:47 +0300 |
| commit | 313d34ffc104c8f9371ad3d94ad633112d2430bc (patch) | |
| tree | 65485892dd3ed036d506e9a4c4d468f6746c2c9c /tests/modules/stdin/test.lua | |
| parent | 081a3360c9d4c7d15ec035129edd25719e9fd9ab (diff) | |
refactor: correct path handling for xmake program file 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 985346d39..7f01b6f86 100644 --- a/tests/modules/stdin/test.lua +++ b/tests/modules/stdin/test.lua @@ -27,7 +27,7 @@ function fix_ape_programfile(xmake) end function main(t) - local xmake = path.unix(os.programfile()) + local xmake = path.translate(os.programfile()) -- Fix pwsh and cosmocc "err: ape error: l: not found (maybe chmod +x or ./ needed)" for Linux xmake = fix_ape_programfile(xmake) |
