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:

import.run
6 6

  
7 7
import ()
8 8
{
9
	echo_func "$FUNCNAME" "$@"
9
	echo_func "$@"
10 10
	import_cmds
11 11
}
12 12
fi ####
......
15 15

  
16 16
import ()
17 17
{
18
	echo_func "$FUNCNAME" "$@"
18
	echo_func "$@"
19 19
}
20 20

  
21 21
all ()
22 22
{
23
	echo_func "$FUNCNAME" "$@"
23
	echo_func "$@"
24 24
	import
25 25
}

Also available in: Unified diff