Revision 9789
Added by Aaron Marcuse-Kubitza over 11 years ago
util.sh | ||
---|---|---|
38 | 38 |
shopt -s expand_aliases |
39 | 39 |
|
40 | 40 |
|
41 |
#### stubs |
|
42 |
|
|
43 |
function echo_func() { :; } |
|
44 |
|
|
45 |
|
|
41 | 46 |
#### vars |
42 | 47 |
|
43 | 48 |
set_var() { eval "$1"'="$2"'; } |
Also available in: Unified diff
lib/sh/util.sh: declare echo_func as a stub before it's defined, so that functions can use it even if they are defined before it (and its logging functionality will be enabled as soon as it's defined)