diff options
Diffstat (limited to 'tools/autobuild/build.sh')
-rw-r--r-- | tools/autobuild/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/autobuild/build.sh b/tools/autobuild/build.sh index 438f739a3f..e7004fd8a4 100644 --- a/tools/autobuild/build.sh +++ b/tools/autobuild/build.sh @@ -11,7 +11,7 @@ GetCPUCores() { case "$OSTYPE" in linux-gnu) grep -c ^processor /proc/cpuinfo 2>/dev/null ;; - darwin) sysctl -n hw.ncpu + darwin*) sysctl -n hw.ncpu ;; *) echo "Unsupported platform in $0" exit 1 |