mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
mmake only autoloads nproc if needed
This commit is contained in:
parent
77facc4f7b
commit
3654650c52
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ esac
|
|||
}
|
||||
local -a targs
|
||||
local -a flags
|
||||
local j=-j$(autoload -Uz nproc >/dev/null 2>&1 ; nproc)
|
||||
whence nproc >/dev/null 2>&1 || autoload -Uz nproc
|
||||
local j=-j$(nproc)
|
||||
while (( $# > 0 )); do
|
||||
case $1 in
|
||||
-j*) j=$1; shift ;;
|
||||
|
|
Loading…
Reference in a new issue