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 <