-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
script: move get_processors to lib-build.sh
This function can be more useful because the NPROC value can be provided regardless of how many cores nproc actually detects and may be handy in a restricted environment like a container. The new version quotes some values and uses $((...)) as per shellcheck warning that "expr is antiquated". Signed-off-by: John Mulligan <[email protected]>
- Loading branch information
1 parent
1361f2e
commit a76a0cf
Showing
2 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters