Make cli usable on FreeBSD

This commit is contained in:
Wolfgang Zenker 2018-08-16 17:21:08 +02:00 committed by Stian Thorgersen
parent b6d545b332
commit c5f861a522
3 changed files with 6 additions and 0 deletions

View file

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

View file

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

View file

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