mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
try support darwin/ppc
Some checks failed
Linux / build (, linux/amd64, musl) (push) Has been cancelled
Linux / build (aarch64, linux/arm64, musl64, arm64, ) (push) Has been cancelled
Linux / build (aarch64, linux/arm64, musl64, arm64, -glibc2.3.1) (push) Has been cancelled
Linux / build (aarch64, linux/arm64, musl64, arm64, -musl) (push) Has been cancelled
Linux / build (linux/amd64, deb, deb, x86-64) (push) Has been cancelled
Linux / build (linux/amd64, pandoc, docs, x86-64) (push) Has been cancelled
Linux / build (musl64, x86-64, ) (push) Has been cancelled
Linux / build (musl64, x86-64, -glibc2.3.1) (push) Has been cancelled
Linux / build (musl64, x86-64, -musl) (push) Has been cancelled
Linux / build (riscv64, linux/riscv64, musl64, riscv64, ) (push) Has been cancelled
Linux / build (riscv64, linux/riscv64, musl64, riscv64, -glibc2.3.1) (push) Has been cancelled
Linux / build (riscv64, linux/riscv64, musl64, riscv64, -musl) (push) Has been cancelled
osx / build (sbcl-bin/2.3.8, arm64) (push) Has been cancelled
osx / build (sbcl-bin/2.3.8, x86-64) (push) Has been cancelled
windows / build-windows (i686, i686, 32) (push) Has been cancelled
windows / build-windows (x86_64, amd64, 64) (push) Has been cancelled
Some checks failed
Linux / build (, linux/amd64, musl) (push) Has been cancelled
Linux / build (aarch64, linux/arm64, musl64, arm64, ) (push) Has been cancelled
Linux / build (aarch64, linux/arm64, musl64, arm64, -glibc2.3.1) (push) Has been cancelled
Linux / build (aarch64, linux/arm64, musl64, arm64, -musl) (push) Has been cancelled
Linux / build (linux/amd64, deb, deb, x86-64) (push) Has been cancelled
Linux / build (linux/amd64, pandoc, docs, x86-64) (push) Has been cancelled
Linux / build (musl64, x86-64, ) (push) Has been cancelled
Linux / build (musl64, x86-64, -glibc2.3.1) (push) Has been cancelled
Linux / build (musl64, x86-64, -musl) (push) Has been cancelled
Linux / build (riscv64, linux/riscv64, musl64, riscv64, ) (push) Has been cancelled
Linux / build (riscv64, linux/riscv64, musl64, riscv64, -glibc2.3.1) (push) Has been cancelled
Linux / build (riscv64, linux/riscv64, musl64, riscv64, -musl) (push) Has been cancelled
osx / build (sbcl-bin/2.3.8, arm64) (push) Has been cancelled
osx / build (sbcl-bin/2.3.8, x86-64) (push) Has been cancelled
windows / build-windows (i686, i686, 32) (push) Has been cancelled
windows / build-windows (x86_64, amd64, 64) (push) Has been cancelled
This commit is contained in:
parent
1bd85255b4
commit
77c175103f
|
|
@ -10,8 +10,12 @@ char* homedir(void) {
|
|||
}
|
||||
|
||||
char* truename(const char* path) {
|
||||
char* ret=realpath(path,NULL);
|
||||
return ret?ret:which((char*)path);
|
||||
char* buf=alloc(PATH_MAX);
|
||||
char* ret=realpath(path,buf);
|
||||
if(ret)
|
||||
return buf;
|
||||
s(buf);
|
||||
return which((char*)path);
|
||||
}
|
||||
|
||||
int ensure_directories_exist(char* path) {
|
||||
|
|
|
|||
|
|
@ -86,6 +86,10 @@ char* uname_m(void) {
|
|||
s(p2);
|
||||
return q("armel");
|
||||
}
|
||||
if(strcmp(p2,"Power Macintosh")==0) {
|
||||
s(p2);
|
||||
return q("ppc");
|
||||
}
|
||||
return substitute_char('-','_',p2);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue