From 90b8c393686b2b2483912671fbeeb1111fc47b6f Mon Sep 17 00:00:00 2001 From: mlmikael Date: Wed, 16 Dec 2015 01:46:36 +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 3a6dc72..0b4263e 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"