mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Fix issue in install get_concurrency
This commit is contained in:
parent
c44d05011d
commit
a8f67c9821
@ -12,7 +12,7 @@ install_command() {
|
||||
get_concurrency() {
|
||||
if which nproc > /dev/null 2>&1; then
|
||||
echo $(nproc)
|
||||
elif which nproc > /dev/null 2>&1; then
|
||||
elif which sysctl > /dev/null 2>&1; then
|
||||
echo $(sysctl -n hw.ncpu)
|
||||
elif [ -f /proc/cpuinfo ]; then
|
||||
echo $(grep -c processor /proc/cpuinfo)
|
||||
|
Loading…
Reference in New Issue
Block a user