parent
9327161e72
commit
44f415a8e8
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue