Revision 9196
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/util.sh | ||
---|---|---|
224 | 224 |
echo_params |
225 | 225 |
} |
226 | 226 |
|
227 |
alias echo_run_prep='{ cmd2rel_path; echo_cmd "$@"; indent; }' |
|
228 |
|
|
229 |
fi # load new aliases |
|
230 |
if self_being_included; then |
|
231 |
|
|
232 | 227 |
## internal commands |
233 | 228 |
|
234 | 229 |
.() |
... | ... | |
248 | 243 |
{ |
249 | 244 |
if test "$limit_stdout"; then local stdout2stderr=1 limit_stderr=1; fi |
250 | 245 |
|
251 |
echo_run_prep
|
|
246 |
cmd2rel_path; echo_cmd "$@"; indent
|
|
252 | 247 |
( |
253 | 248 |
if test "$limit_stderr"; then limit_stderr; fi |
254 | 249 |
if test "$stderr_is_errors"; then exec 2>&22; fi # ensure errors visible |
Also available in: Unified diff
lib/sh/util.sh: inlined echo_run_prep into command() since it's now only used once