mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-09 19:30:29 +00:00
ape: Fix uname -m redirection
This was leading to errors like .../tool/build/fixupobj.com: this ape binary lacks support
This commit is contained in:
parent
d2f49ca175
commit
04e19640e9
1 changed files with 1 additions and 1 deletions
|
@ -592,7 +592,7 @@ ape_disk:
|
|||
|
||||
#ifdef APE_IS_SHELL_SCRIPT
|
||||
apesh: .ascii "\n@\n#'\"\n" // sixth edition shebang
|
||||
.ascii "m=\"$(/bin/uname -m >/dev/null)\" || "
|
||||
.ascii "m=\"$(/bin/uname -m 2>/dev/null)\" || "
|
||||
.ascii "m=\"$(/usr/bin/uname -m)\"\n"
|
||||
|
||||
.ascii "if [ \"$m\" = x86_64 ] || [ \"$m\" = amd64 ]; then\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue