Project

General

Profile

« Previous | Next » 

Revision 8906

lib/util.sh: added echo_run_extern (), which automatically runs log_stderr to capture the external command's stderr

View differences:

lib/util.sh
74 74

  
75 75
echo_run () { echo_cmd "$@"; "$@"; }
76 76

  
77
echo_run_extern () { (log_stderr; echo_run extern "$@") || exit; }
78

  
77 79
if test "$verbosity" -ge 1; then
78 80
	alias env="echo_run env" # automatically echo commands that use env
79 81
fi

Also available in: Unified diff