Skip to content

Commit

Permalink
Merge pull request #4 from mittwald/bugfix/unbound-vars-again
Browse files Browse the repository at this point in the history
Fix even more unbound variable access
  • Loading branch information
martin-helmich authored Feb 29, 2024
2 parents ed2458a + 5a3c249 commit 05d3339
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pre_install_actions:
#ddev-nodisplay
if !( {{ contains "MITTWALD_API_TOKEN" (list .DdevGlobalConfig.web_environment | toString) }} || {{ contains "MITTWALD_API_TOKEN" (list .DdevProjectConfig.web_environment | toString) }} ); then
token="${MITTWALD_API_TOKEN:-}"
if [[ -z "${token}" && -z "${DDEV_NONINTERACTIVE}" ]] ; then
if [[ -z "${token}" && -z "${DDEV_NONINTERACTIVE:-}" ]] ; then
read -s token
fi
Expand All @@ -41,7 +41,7 @@ pre_install_actions:
#ddev-nodisplay
if !( {{ contains "MITTWALD_APP_INSTALLATION_ID" (list .DdevProjectConfig.web_environment | toString) }} ); then
app_id="${MITTWALD_APP_INSTALLATION_ID:-}"
if [[ -z "${app_id}" && -e "${DDEV_NONINTERACTIVE}" ]] ; then
if [[ -z "${app_id}" && -e "${DDEV_NONINTERACTIVE:-}" ]] ; then
read app_id
fi
Expand Down

0 comments on commit 05d3339

Please sign in to comment.