Revision 9057
Added by Aaron Marcuse-Kubitza over 11 years ago
util.sh | ||
---|---|---|
176 | 176 |
|
177 | 177 |
limit_stderr_cmd () # usage: [stdout2stderr=1] limit_stderr_cmd cmd... |
178 | 178 |
{ |
179 |
case "$1" in echo_run) shift; echo_cmd "$@";; esac |
|
179 |
case "$1" in echo_run) shift; cmd2rel_path; echo_cmd "$@";; esac
|
|
180 | 180 |
(limit_stderr |
181 | 181 |
if test "$stdout2stderr"; then stdout2stderr; fi |
182 | 182 |
"$@" |
Also available in: Unified diff
lib/sh/util.sh: limit_stderr_cmd (): run cmd2rel_path explicitly here because echo_run is split apart rather than being run as echo_run ()