Make minio server compile on OpenBSD, NetBSD, Solaris (#3719)

This commit is contained in:
Krishnan Parthasarathi
2017-02-09 11:57:35 +05:30
committed by Harshavardhana
parent 0c7694894b
commit e5773e11c6
24 changed files with 545 additions and 141 deletions

View File

@@ -97,7 +97,7 @@ assert_is_supported_arch() {
assert_is_supported_os() {
case "${KNAME}" in
Linux | FreeBSD )
Linux | FreeBSD | OpenBSD | NetBSD | DragonFly )
return
;;
Darwin )
@@ -113,7 +113,7 @@ assert_is_supported_os() {
*)
echo "ERROR"
echo "OS '${KNAME}' is not supported."
echo "Supported OS: [Linux, FreeBSD, Darwin]"
echo "Supported OS: [Linux, FreeBSD, OpenBSD, NetBSD, Darwin, DragonFly]"
exit 1
esac
}