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:

run
7 7
	echo_func "$FUNCNAME" "$@"
8 8
	echo_run "$(dirname "${BASH_SOURCE[0]}")"/import
9 9
}
10

  
11
run_cmd "$@"

Also available in: Unified diff