diff options
author | P. J. McDermott <pj@pehjota.net> | 2016-02-26 18:08:50 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2016-02-26 18:08:50 (EST) |
commit | 3a841cad295e83aec93d41b548f5e020c4803ce4 (patch) | |
tree | 8f56f630e8544810bdbc36dacee419113b359b26 /eshld | |
parent | ac0e97f07fe7de19984d143a14b8916a2d2d4831 (diff) | |
download | eggshell-3a841cad295e83aec93d41b548f5e020c4803ce4.zip eggshell-3a841cad295e83aec93d41b548f5e020c4803ce4.tar.gz eggshell-3a841cad295e83aec93d41b548f5e020c4803ce4.tar.bz2 |
eshld/eshrt: Lose an eval
Diffstat (limited to 'eshld')
-rw-r--r-- | eshld/eshrt.esh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eshld/eshrt.esh b/eshld/eshrt.esh index 43c4cc6..a296004 100644 --- a/eshld/eshrt.esh +++ b/eshld/eshrt.esh @@ -86,8 +86,8 @@ __fn_ctxsw() ${__prev_tu});; ?*) # Set static variables and function for the current TU. - eval "$(eval printf '%s' "\"$(eval printf '%s' \ - "'\${__${__fn_tu}_static_var_vals}'")\"")" + eval "$(eval "printf '%s ' \ + \${__${__fn_tu}_static_var_vals}")" for __fn in $(eval printf '%s' \ "\"\${__${__fn_tu}_static_fns}\""); do eval "${__fn%:*}() { ${__fn#*:}; }" |