Cosmetic changes
This commit is contained in:
@@ -26,9 +26,10 @@ build() {
|
||||
_jobs="$(nproc)"
|
||||
|
||||
# may fail to compile on a high core count system
|
||||
if [ "$_jobs" > "$_max_jobs" ]
|
||||
# https://github.com/Netflix/vmaf/issues/1541
|
||||
if [ "$_jobs" -ge "$_max_jobs" ]
|
||||
then
|
||||
local _jobs="$_max_jobs"
|
||||
_jobs="$_max_jobs"
|
||||
printf '%s\n' "limiting the compilation jobs to ${_jobs}"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user