Browse Source

Explain the use of eval

pull/6241/head
Jacobo de Vera 2 months ago
committed by tomo
parent
commit
929bb68e8c
No known key found for this signature in database GPG Key ID: 6826163BFB606E85
  1. 1
      deploy/multideploy.sh

1
deploy/multideploy.sh

@ -192,6 +192,7 @@ _export_envs() {
IFS=$(printf '\n')
echo "$_env_list" | yq e -r 'to_entries | .[] | .key + "=" + .value' | while IFS='=' read -r _key _value; do
# Using eval to expand nested variables in the configuration file
_value=$(eval echo "$_value")
_savedeployconf "$_key" "$_value"
_secure_debug3 "Saved $_key" "$_value"

Loading…
Cancel
Save