This commit is contained in:
Marc Beninca 2024-08-31 09:19:46 +02:00
parent b00e8881a4
commit 5053dca4fb
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -410,11 +410,14 @@ spcd_step__environment_defaults_print() {
"URL_PYTHON" \ "URL_PYTHON" \
"URL_ROCKY" \ "URL_ROCKY" \
"URL_UBUNTU" "URL_UBUNTU"
for spcd_step_edp__item in "${@}"; do local item
spcd_step_edp__name="SPCD_${spcd_step_edp__item}" local name
eval "spcd_step_edp__value=\"\${${spcd_step_edp__name}}\"" local value
if [ -n "${spcd_step_edp__value}" ]; then for item in "${@}"; do
spcd_os_printenv "${spcd_step_edp__name}" name="SPCD_${item}"
eval "value=\"\${${name}}\""
if [ -n "${value}" ]; then
spcd_os_printenv "${name}"
fi fi
done done
} }