Revision 9149
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/make.sh | ||
---|---|---|
23 | 23 |
# usage: set_make_vars; to_target cmd... |
24 | 24 |
alias to_target='stdout="$target" to_file ' # last space alias-expands next word |
25 | 25 |
|
26 |
make() { echo_func; stdout2stderr=1 limit_stderr_cmd self "$@"; }
|
|
26 |
make() { echo_func; limit_stdout_cmd self "$@"; }
|
|
27 | 27 |
|
28 | 28 |
if false; then ## usage: |
29 | 29 |
inline_make 10<<'EOF' |
lib/sh/archives.sh | ||
---|---|---|
12 | 12 |
end_try |
13 | 13 |
} |
14 | 14 |
|
15 |
unzip() { stdout2stderr=1 limit_stderr_cmd self "$@"; }
|
|
15 |
unzip() { limit_stdout_cmd self "$@"; }
|
|
16 | 16 |
|
17 | 17 |
set_inv force |
18 | 18 |
alias zip_newer='zip ${no_force:+-u }' |
lib/sh/db.sh | ||
---|---|---|
63 | 63 |
|
64 | 64 |
set -- ${database:+--database="$database" }"$@" |
65 | 65 |
if test "$output_data"; then echo_stdin|mysql_cmd "$@" |
66 |
else stdout2stderr=1 limit_stderr_cmd mysql_cmd --verbose "$@"
|
|
66 |
else limit_stdout_cmd mysql_cmd --verbose "$@"
|
|
67 | 67 |
fi |
68 | 68 |
} |
69 | 69 |
|
Also available in: Unified diff
*{.sh,run}: use new limit_stdout_cmd instead of `stdout2stderr=1 limit_stderr_cmd`