mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-12 14:09:12 +00:00
parent
d2f49ca175
commit
3d3cdcf276
2 changed files with 6 additions and 4 deletions
|
@ -1944,8 +1944,9 @@ int main(int argc, char *argv[]) {
|
|||
}
|
||||
|
||||
// otherwise this is a fresh install so consider the platform
|
||||
p = stpcpy(p, "m=\"$(/bin/uname -m >/dev/null)\" || "
|
||||
"m=\"$(/usr/bin/uname -m)\"\n");
|
||||
p = stpcpy(p, "m=$(/bin/uname -m 2>/dev/null) || "
|
||||
"m=$(/usr/bin/uname -m 2>/dev/null) || "
|
||||
"m=x86_64\n");
|
||||
if (support_vector & _HOSTXNU) {
|
||||
p = stpcpy(p, "if [ ! -d /Applications ]; then\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue