From 3a841cad295e83aec93d41b548f5e020c4803ce4 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 26 Feb 2016 18:08:50 -0500 Subject: eshld/eshrt: Lose an eval --- (limited to 'eshld') 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#*:}; }" -- cgit v0.9.1