Revision 9278
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/util.sh | ||
---|---|---|
278 | 278 |
|
279 | 279 |
echo_cmd() { echo_params; } |
280 | 280 |
|
281 |
echo_eval() { echo_params; builtin eval "$@"; } |
|
282 |
|
|
281 | 283 |
## vars |
282 | 284 |
|
283 | 285 |
echo_vars() # usage: echo_vars var... |
... | ... | |
352 | 354 |
set_paths |
353 | 355 |
} |
354 | 356 |
|
355 |
echo_eval() { echo_params; builtin eval "$@"; } |
|
356 |
|
|
357 | 357 |
## external commands |
358 | 358 |
|
359 | 359 |
disable_logging() { set_fds "$log_fd>/dev/null"; } |
Also available in: Unified diff
lib/sh/util.sh: moved echo_eval() to general command echoing section so it can be used by other echoing commands