mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2024-11-09 10:09:56 +01:00
don't fail on unset PARALLEL_JOBS
This commit is contained in:
parent
bc4bf13225
commit
8afe149244
@ -57,7 +57,7 @@ fi
|
||||
|
||||
|
||||
jobs_arg=()
|
||||
if [ -n "$PARALLEL_JOBS" ]; then
|
||||
if [ -n "${PARALLEL_JOBS-}" ]; then
|
||||
if [[ "$PARALLEL_JOBS" =~ ^[1-9][0-9]*$ ]]; then
|
||||
jobs_arg+=( "-j$PARALLEL_JOBS" )
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user