diff options
-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 a296004..3d86b79 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 ' \ - \${__${__fn_tu}_static_var_vals}")" + eval "__val=\${__${__fn_tu}_static_var_vals}" + eval "${__val}" for __fn in $(eval printf '%s' \ "\"\${__${__fn_tu}_static_fns}\""); do eval "${__fn%:*}() { ${__fn#*:}; }" |