1
0
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:
Philip Nagler-Frank 2022-03-17 21:31:13 +01:00 committed by GitHub
parent bc4bf13225
commit 8afe149244
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -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