Revision 8885
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/util.sh | ||
---|---|---|
63 | 63 |
local script="$(canon_rel_path "${BASH_SOURCE[1]}")" |
64 | 64 |
echo_cmd "$script:${BASH_LINENO[0]}" "${FUNCNAME[1]}" "$@" |
65 | 65 |
} |
66 |
|
|
67 |
fi # always restore the alias |
|
66 | 68 |
alias echo_func='"echo_func" "$@"' # usage: func () { echo_func; ...; } |
69 |
if self_being_included; then |
|
67 | 70 |
|
68 | 71 |
echo_stdin () # usage: input|echo_stdin|cmd |
69 | 72 |
{ |
Also available in: Unified diff
bugfix: lib/util.sh: echo_func alias: moved it outside the include guard because the unalias statement is needs to be outside the include guard, and therefore so does the alias statement in order to always restore the alias