From 5bc53b317c42c6c5f07c736e6f58048962273958 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 25 Aug 2024 21:29:21 +0200 Subject: [PATCH] mv --- spcd/main.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/spcd/main.sh b/spcd/main.sh index d1d782f..c938314 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -229,6 +229,16 @@ spcd_os_mkdir() { fi } +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}\"" + done + fi +} + spcd_os_rm() { spcd_os_rm__path="${1}" if [ -e "${spcd_os_rm__path}" ]; then @@ -1085,16 +1095,6 @@ spcd_cat() { fi } -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}\"" - done - fi -} - spcd_install_package() { spcd_install_package__name="${1}" if [ -n "${spcd_install_package__name}" ]; then