Make cli usable on FreeBSD
This commit is contained in:
parent
b6d545b332
commit
c5f861a522
3 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -37,6 +37,8 @@ public class OsUtils {
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue