Project

General

Profile

« Previous | Next » 

Revision 9746

lib/runscripts/subdir.run: auto-append -remake to all targets in remake mode

View differences:

inputs/GBIF/table.run
6 6
table.tsv.md5/make()
7 7
{
8 8
	echo_func; set_make_vars; check_target_exists
9
	table_make "$target_filename"${_remake:+-remake}
9
	table_make "$target_filename"
10 10
}
11 11

  
12 12
table.tsv/make() # usage: [remake=1] [limit=...] .../run table.tsv/make
lib/runscripts/subdir.run
14 14
{
15 15
	echo_func
16 16
	set -- "${@/#/$subdir/}" # replace empty str at start (/#) with $subdir/
17
	set -- "${@/%/${_remake:+-remake}}" # replace empty str at end (/%)
17 18
	make --directory="$(canon_rel_path "$top_dir"/..)" "$@"
18 19
}
19 20

  

Also available in: Unified diff