Signed-off-by: Juergen Weber <weberjn@gmail.com>
break;
case LINUX:
case MAC:
+ case BSD:
case SOLARIS:
// assume sh is present, should all be POSIX-compliant
shell = SHELL_NIX;
public enum OS {
WINDOWS,
LINUX,
+ BSD,
MAC,
SOLARIS,
UNKNOWN,
os = OS.WINDOWS;
} else if (operSys.contains("nix") || operSys.contains("nux") || operSys.contains("aix")) {
os = OS.LINUX;
+ } else if (operSys.endsWith("bsd")) {
+ os = OS.BSD;
} else if (operSys.contains("mac")) {
os = OS.MAC;
} else if (operSys.contains("sunos")) {