This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
pyenv
mirror of
https://github.com/pyenv/pyenv.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
181
Wiki
Activity
Browse Source
Added true fallback to num_cpu_cores SunOS case
pull/1055/head
Kjetil Limkjær
6 years ago
parent
5149c53165
commit
dc145fa5a2
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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 ||
Write
Preview
Loading…
Cancel
Save