diff --git a/sh/self.sh b/sh/self.sh index c6fad3b..62d405e 100644 --- a/sh/self.sh +++ b/sh/self.sh @@ -76,7 +76,7 @@ rwx_self_install() { rwx_remove "${file}" rwx_file_write "${file}" "export ENV=\"${RWX_MAIN_PATH}\"" # bash - file="/etc/bash.bashrc" + file="${target}/etc/bash.bashrc" rwx_remove "${file}" rwx_link "${file}" "${RWX_MAIN_PATH}" }