Project

General

Profile

« Previous | Next » 

Revision 9790

lib/sh/util.sh: moved echo_func alias to stub because it must be embedded in its expanded alias form to work properly

View differences:

lib/sh/util.sh
41 41
#### stubs
42 42

  
43 43
function echo_func() { :; }
44
alias echo_func='"echo_func" "$FUNCNAME" "$@" && indent || true'
44 45

  
45 46

  
46 47
#### vars
......
511 512
	echo_cmd "$loc" "$func" "$@"
512 513
	can_log
513 514
}
514
alias echo_func='"echo_func" "$FUNCNAME" "$@" && indent || true'
515
# see echo_func alias after stub
515 516

  
516 517
fi # load new aliases
517 518
if self_being_included; then

Also available in: Unified diff