fixed build script.

This commit is contained in:
rachytski 2012-11-13 13:28:24 +03:00 committed by Alex Zolotarev
parent 946b67d8dc
commit 4234bc7a37

View file

@ -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