Browse Source

Added true fallback to num_cpu_cores SunOS case

pull/1055/head
Kjetil Limkjær 6 years ago
parent
commit
dc145fa5a2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      plugins/python-build/bin/python-build

+ 1
- 1
plugins/python-build/bin/python-build View File

@ -156,7 +156,7 @@ num_cpu_cores() {
num="$(sysctl -n hw.ncpu 2>/dev/null || true)"
;;
SunOS )
num="$(getconf NPROCESSORS_ONLN 2>/dev/null)"
num="$(getconf NPROCESSORS_ONLN 2>/dev/null || true)"
;;
* )
num="$({ getconf _NPROCESSORS_ONLN ||

Loading…
Cancel
Save