Project

General

Profile

« Previous | Next » 

Revision 8289

lib/util.run: Run run_cmd at shell exit (using trap) instead of requiring every runscript to have `run_cmd ` at the end of it

View differences:

table.run
17 17
	MySQL_export
18 18
	"$(dirname "${BASH_SOURCE[0]}")"/../../lib/table.run "$FUNCNAME"
19 19
}
20

  
21
run_cmd "$@"

Also available in: Unified diff