From 1e1092235b67d2f0c4bdb3d72ca6372d4d937a41 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 20 Jul 2024 16:21:34 +0200 Subject: [PATCH] envars --- spcd.sh | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/spcd.sh b/spcd.sh index ce27397..66b6ffe 100644 --- a/spcd.sh +++ b/spcd.sh @@ -10,9 +10,10 @@ # main spcd_main() { spcd_list_environment_variables + spcd_set_environment_variables + # spcd_list_working_directory # - spcd_set_environment_variables spcd_set_packages_repositories spcd_set_packages_configuration # @@ -38,7 +39,7 @@ spcd_main() { spcd_switch_to_python "${@}" } -# context +# steps spcd_list_environment_variables() { spcd_step "List environment variables" @@ -49,14 +50,6 @@ spcd_list_environment_variables() { done } -spcd_list_working_directory() { - spcd_step "List working directory" - spcd_lwd__path="$(realpath .)" - spcd_ls "${spcd_lwd__path}" -} - -# steps - spcd_set_environment_variables() { spcd_step "Set environment variables" # continuous integration platform @@ -448,6 +441,12 @@ Acquire::https::Verify-Peer False; esac } +spcd_list_working_directory() { + spcd_step "List working directory" + spcd_lwd__path="$(realpath .)" + spcd_ls "${spcd_lwd__path}" +} + spcd_set_packages_repositories() { spcd_step "Set packages repositories" case "${SPCD_OS_ID}" in