From 47ff6043d5aaafeb222ecb3e93a489961657835b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 7 Jul 2025 04:02:44 +0200 Subject: [PATCH] install/while --- sh/code.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sh/code.sh b/sh/code.sh index a016377..62f28a2 100644 --- a/sh/code.sh +++ b/sh/code.sh @@ -39,11 +39,13 @@ rwx_code_install() { file="${root}/${name}" rwx_remove "${file}" rwx_link "${file}" "${RWX_MAIN_PATH}" - for command in $(rwx_self_commands); do + while IFS= read -r command; do file="${root}/${command}" rwx_remove "${file}" rwx_link "${file}" "${name}" - done + done <