From 24e784437f5f35a3f5a51218875945e0f11879d2 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 28 Aug 2024 21:02:39 +0200 Subject: [PATCH 1/2] print/ --- spcd/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 374441f..1a43f30 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -353,7 +353,7 @@ spcd_step__environment_defaults_print() { "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}}" + eval "spcd_step_edp__value=\"\${${spcd_step_edp__name}}\"" if [ -n "${spcd_step_edp__value}" ]; then spcd_os_printenv "${spcd_step_edp__name}" fi From 8fdb29fae3555754d638e8f85d835816a35814bd Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 28 Aug 2024 21:08:06 +0200 Subject: [PATCH 2/2] steps --- spcd/bootstrap.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 1a43f30..0fd4e27 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -331,6 +331,7 @@ SPCD_PM_ZYPPER="zypper" # ╰──────┴─────────────╯ spcd_step__environment_defaults_print() { + spcd_step "Print" set -- \ \ "CMD_SUM" \ @@ -361,6 +362,7 @@ spcd_step__environment_defaults_print() { } spcd_step__environment_defaults_set() { + spcd_step "Set" [ -n "${SPCD_CMD_SUM}" ] || SPCD_CMD_SUM="sha512sum" [ -n "${SPCD_DNS_1}" ] || SPCD_DNS_1="9.9.9.9" @@ -1294,9 +1296,11 @@ ${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}" spcd_main() { # environment spcd_step_in "Environment" + spcd_step_in "Defaults" spcd_step__environment_defaults_print spcd_step__environment_defaults_set spcd_step__environment_defaults_print + spcd_step_out spcd_step__environment_set_variables spcd_step__environment_list_workspace spcd_step_out