Project

General

Profile

« Previous | Next » 

Revision 9039

bugfix: : use new func_override for runscript inheritance instead of invoking the overridden function as a (command-line) target of the parent runscript. this ensures that the overridden function is run in the *same process as the calling function, so that $top_dir keeps the same value and runscript-relative paths continue to work.

View differences:

table.run
16 16
	table.tsv/make
17 17
}
18 18

  
19
func_override import__table_run
19 20
import ()
20 21
{
21 22
	echo_func
22 23
	export_mysql
23
	"$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/table.run "$FUNCNAME" "$@"
24
	import__table_run "$@"
24 25
}
25 26

  
26 27
fi

Also available in: Unified diff