Project

General

Profile

« Previous | Next » 

Revision 8463

lib/util.run: echo_func (): use the caller's FUNCNAME via the $FUNCNAME[] array instead of requiring them to pass it in the function args as `echo_func "$FUNCNAME" "$@"`

View differences:

table.run
3 3

  
4 4
MySQL_export ()
5 5
{
6
	echo_func "$FUNCNAME" "$@"
6
	echo_func "$@"
7 7
	inline_make <<'EOF'
8 8
table.tsv:
9 9
	$(self_dir)/MySQL_export >$@
......
12 12

  
13 13
import ()
14 14
{
15
	echo_func "$FUNCNAME" "$@"
15
	echo_func "$@"
16 16
	MySQL_export
17 17
	"$(dirname "${BASH_SOURCE[0]}")"/../../lib/table.run "$FUNCNAME" "$@"
18 18
}

Also available in: Unified diff