Project

General

Profile

« Previous | Next » 

Revision 11978

lib/runscripts/in_datasrc_dir.run: datasrc_make(): use `if remaking ...` instead of accessing $_remake manually, for clarity

View differences:

trunk/lib/runscripts/in_datasrc_dir.run
13 13
# requires Makefile in datasrc dir with `include ../input.Makefile`
14 14
{
15 15
	echo_func; set_make_vars
16
	set -- "${@/%/${_remake:+-remake}}" # replace empty str at end (/%)
16
	if remaking; then set -- "${@/%/-remake}"; fi #replace empty str at end (/%)
17 17
	make --directory="$top_dir" "$@"
18 18
}
19 19

  

Also available in: Unified diff