diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index fcaa398..8133189 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -243,10 +243,11 @@ spcd_os_mkdir() { spcd_os_printenv() { if [ -n "${1}" ]; then - for spcd_os_printenv__name in "${@}"; do - spcd_os_printenv__text="" - eval "spcd_os_printenv__text=\"\${${spcd_os_printenv__name}}\"" - echo "${spcd_os_printenv__name} = \"${spcd_os_printenv__text}\"" + local name + local text + for name in "${@}"; do + eval "text=\"\${${name}}\"" + echo "${name} = \"${text}\"" done fi }