This commit is contained in:
parent
b00e8881a4
commit
5053dca4fb
1 changed files with 8 additions and 5 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue