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_ROCKY" \
|
||||
"URL_UBUNTU"
|
||||
for spcd_step_edp__item in "${@}"; do
|
||||
spcd_step_edp__name="SPCD_${spcd_step_edp__item}"
|
||||
eval "spcd_step_edp__value=\"\${${spcd_step_edp__name}}\""
|
||||
if [ -n "${spcd_step_edp__value}" ]; then
|
||||
spcd_os_printenv "${spcd_step_edp__name}"
|
||||
local item
|
||||
local name
|
||||
local value
|
||||
for item in "${@}"; do
|
||||
name="SPCD_${item}"
|
||||
eval "value=\"\${${name}}\""
|
||||
if [ -n "${value}" ]; then
|
||||
spcd_os_printenv "${name}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue