diff --git a/entrypoint.sh b/entrypoint.sh index 2520527..67be24e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -19,7 +19,7 @@ mcli alias set s3 https://s3.tobiasmanske.de "${REPO_ACCESS_KEY}" "${REPO_SECRET LOCK="" while [[ "${LOCK}" != "${PIPELINE_ID}" ]]; do - if [[ ${DEBUG} == "true" ]]; then + if [[ ${DEBUG:-} == "true" ]]; then echo "Debug mode, not waiting for lock" break fi @@ -115,7 +115,7 @@ echo QUEUE echo cat queue -if [[ ${DEBUG} == "true" ]]; then +if [[ ${DEBUG:-} == "true" ]]; then echo "Debug mode, not building anything." exit 0 fi