From d021f61997e55dc58d2f721f7c196f0e80cb6e94 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 7 Sep 2024 00:38:09 +0200 Subject: [PATCH 1/3] =?UTF-8?q?=E2=88=92eval?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spcd/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 3eaa305..9c123b4 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -250,7 +250,7 @@ nameserver ${value} spcd_eval() { if [ -n "${1}" ]; then echo "${@}" - eval "${@}" + "${@}" fi } From 1c1a60bc64b721eb6d41ea322ed4d9eb0304e9e5 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 7 Sep 2024 00:40:10 +0200 Subject: [PATCH 2/3] frame/* --- spcd/bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 9c123b4..6e3f3ec 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -143,11 +143,11 @@ _SPCD_FRAME_TOP="${_SPCD_BOX_DOWN_AND_RIGHT}${_SPCD_BOX_LEFT}" _SPCD_FRAME_BOTTOM="${_SPCD_BOX_UP_AND_RIGHT}${_SPCD_BOX_LEFT}" _spcd_frame_open() { - echo "${_SPCD_FRAME_TOP}${1}" + echo "${_SPCD_FRAME_TOP}${*}" } _spcd_frame_shut() { - echo "${_SPCD_FRAME_BOTTOM}${1}" + echo "${_SPCD_FRAME_BOTTOM}${*}" } # ╭───┬────╮ From 5928a2fdcc99199200487659105ef8bb0236bc47 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 7 Sep 2024 00:42:17 +0200 Subject: [PATCH 3/3] eval/open,shut --- spcd/bootstrap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 6e3f3ec..fb5355c 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -249,8 +249,9 @@ nameserver ${value} spcd_eval() { if [ -n "${1}" ]; then - echo "${@}" + _spcd_frame_open "${@}" "${@}" + _spcd_frame_shut "${@}" fi }