Cosmetic changes
This commit is contained in:
@@ -26,9 +26,10 @@ build() {
|
|||||||
_jobs="$(nproc)"
|
_jobs="$(nproc)"
|
||||||
|
|
||||||
# may fail to compile on a high core count system
|
# 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
|
then
|
||||||
local _jobs="$_max_jobs"
|
_jobs="$_max_jobs"
|
||||||
printf '%s\n' "limiting the compilation jobs to ${_jobs}"
|
printf '%s\n' "limiting the compilation jobs to ${_jobs}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user