From 8c5ada3f94ab69f582ef9ab9d1d63e35ace7d943 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 29 Jul 2024 12:51:46 +0200 Subject: [PATCH] =?UTF-8?q?=E2=88=92printenv?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spcd.sh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/spcd.sh b/spcd.sh index cf3880b..4ff13da 100644 --- a/spcd.sh +++ b/spcd.sh @@ -12,7 +12,6 @@ # main spcd_main() { - spcd_list_environment_variables spcd_set_environment_variables # spcd_list_working_directory @@ -41,19 +40,6 @@ spcd_main() { # steps -spcd_list_environment_variables() { - spcd_step "List environment variables" - for spcd_lev__name in $(printenv | cut -d = -f 1 | sort); do - if [ "${spcd_lev__name}" != "SPCD_SSH_KEY" ]; then - spcd_lev__text= - eval "spcd_lev__text=\"\${${spcd_lev__name}}\"" - echo "${spcd_lev__name}=${spcd_lev__text}" - else - echo "${spcd_lev__name}" - fi - done -} - spcd_set_environment_variables() { spcd_step "Set environment variables" # continuous integration / github → gitea → forgejo