mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-12 22:19:10 +00:00
Try to better adhere to existing line length conventions
This commit is contained in:
parent
e40fe1a391
commit
d5a790d455
2 changed files with 8 additions and 4 deletions
|
@ -616,7 +616,10 @@ apesh: .ascii "\n@\n#'\"\n" // sixth edition shebang
|
||||||
#if SupportsXnu()
|
#if SupportsXnu()
|
||||||
// Add an architecture suffix to the temporary APE Loader
|
// Add an architecture suffix to the temporary APE Loader
|
||||||
// name to differentiate between x86_64 and arm64.
|
// name to differentiate between x86_64 and arm64.
|
||||||
.ascii "[ -d /Applications ] && t=\"${t}-$(uname -m 2>/dev/null || printf 'unknown')\"\n"
|
.ascii "[ -d /Applications ] && "
|
||||||
|
.ascii "t=\"${t}-$("
|
||||||
|
.ascii "uname -m 2>/dev/null || printf 'unknown'"
|
||||||
|
.ascii ")\"\n"
|
||||||
#endif /* SupportsXnu() */
|
#endif /* SupportsXnu() */
|
||||||
.ascii "[ -x \"$t\" ] || {\n"
|
.ascii "[ -x \"$t\" ] || {\n"
|
||||||
.ascii "mkdir -p \"${t%/*}\" &&\n"
|
.ascii "mkdir -p \"${t%/*}\" &&\n"
|
||||||
|
|
|
@ -2018,9 +2018,10 @@ int main(int argc, char *argv[]) {
|
||||||
if (loaders.n) {
|
if (loaders.n) {
|
||||||
p = stpcpy(p, "t=\"${TMPDIR:-${HOME:-.}}/.ape-" APE_VERSION_STR);
|
p = stpcpy(p, "t=\"${TMPDIR:-${HOME:-.}}/.ape-" APE_VERSION_STR);
|
||||||
if (support_vector & _HOSTXNU) {
|
if (support_vector & _HOSTXNU) {
|
||||||
// Add the current architecture to the temporary APE Loader
|
// Add an architecture suffix to the temporary APE Loader
|
||||||
// name to differentiate between x86_64 and arm64 Ape Loaders.
|
// name to differentiate between x86_64 and arm64.
|
||||||
p = stpcpy(p, "$([ -d /Applications ] && ( printf '-'; ( uname -m 2>/dev/null || printf 'unknown')))");
|
p = stpcpy(p, "$([ -d /Applications ] && ( printf '-'; "
|
||||||
|
"( uname -m 2>/dev/null || printf 'unknown') ))");
|
||||||
}
|
}
|
||||||
p = stpcpy(p, "\"\n"
|
p = stpcpy(p, "\"\n"
|
||||||
"[ x\"$1\" != x--assimilate ] && "
|
"[ x\"$1\" != x--assimilate ] && "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue