Make cli usable on FreeBSD
This commit is contained in:
1 parent
b6d545b332
commit
c5f861a522
3 files changed
+6
No files matched your search
+2
@@ -56,6 +56,8 @@ public class OsUtil {
|
||||
return new OsArch("sunos5", "x86_64");
|
||||
} else if (os.startsWith("mac os x")) {
|
||||
return new OsArch("osx", "x86_64");
|
||||
} else if (os.startsWith("freebsd")) {
|
||||
return new OsArch("freebsd", arch);
|
||||
}
|
||||
|
||||
// unsupported platform
|
||||
|
||||
+2
@@ -40,6 +40,8 @@ public class OsUtil {
|
||||
return new OsArch("sunos5", "x86_64");
|
||||
} else if (os.startsWith("mac os x")) {
|
||||
return new OsArch("osx", "x86_64");
|
||||
} else if (os.startsWith("freebsd")) {
|
||||
return new OsArch("freebsd", arch);
|
||||
}
|
||||
|
||||
// unsupported platform
|
||||
|
||||
Reference in new issue
Block a user