Skip to content

Commit

Permalink
Merge pull request #3 from mittwald/bugfix/unbound-vars
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich authored Feb 28, 2024
2 parents 768242a + e00bede commit 0387254
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 @@ -16,7 +16,7 @@ pre_install_actions:
#ddev-description:set mittwald API token
#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}"
token="${MITTWALD_API_TOKEN:-}"
if [[ -z "${token}" && -z "${DDEV_NONINTERACTIVE}" ]] ; then
read -s token
fi
Expand All @@ -40,7 +40,7 @@ pre_install_actions:
#ddev-description:set mittwald app installation ID
#ddev-nodisplay
if !( {{ contains "MITTWALD_APP_INSTALLATION_ID" (list .DdevProjectConfig.web_environment | toString) }} ); then
app_id="${MITTWALD_APP_INSTALLATION_ID}"
app_id="${MITTWALD_APP_INSTALLATION_ID:-}"
if [[ -z "${app_id}" && -e "${DDEV_NONINTERACTIVE}" ]] ; then
read app_id
fi
Expand Down

0 comments on commit 0387254

Please sign in to comment.