Make cli usable on FreeBSD

This commit is contained in:
Wolfgang Zenker authored and Stian Thorgersen committed 2018-08-20 09:08:02 +02:00
1 parent b6d545b332
commit c5f861a522
3 files changed
+6

No files matched your search

@@ -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