eval/lint
Some checks failed
/ job (push) Has been cancelled

This commit is contained in:
Marc Beninca 2025-07-06 16:44:31 +02:00
parent 9327161e72
commit 44f415a8e8
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -195,7 +195,9 @@ rwx_parse_code() {
local line text local line text
RWX_ALIASES="$(rwx_parse_aliases)" RWX_ALIASES="$(rwx_parse_aliases)"
while IFS= read -r line; do while IFS= read -r line; do
eval "$(echo "${line}" | sed "s| = |() { |") \"\${@}\"; }" text="$(echo "${line}" | sed "s| = |() { |")"
text="${text} \"\${@}\"; }"
eval "${text}"
done <<EOF done <<EOF
${RWX_ALIASES} ${RWX_ALIASES}
EOF EOF