From cdf2e17b5e9e0c9378b9bfb85561bf73498b91ea Mon Sep 17 00:00:00 2001 From: mlmikael Date: Wed, 16 Dec 2015 01:44:32 +0800 Subject: [PATCH] install.sh: OpenBSD support to CPU cores check --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 83596b17..4bea57f1 100755 --- a/install.sh +++ b/install.sh @@ -65,7 +65,7 @@ if [[ $TRAVIS == true ]]; then PARALLEL=$SEQUENTIAL elif [[ $OS == Linux ]]; then PARALLEL=`nproc` -elif [[ $OS == Darwin ]]; then +elif [[ $OS == Darwin || $OS == OpenBSD ]]; then PARALLEL=`sysctl -n hw.ncpu` else echo "Unsupported system: $OS"