Project

General

Profile

« Previous | Next » 

Revision 9934

lib/runscripts/table.run: load_data(): split noclobber functionality into separate table_make_install() function, which can be used by other install-related targets

View differences:

lib/runscripts/table.run
24 24

  
25 25
table_make() { subdir_make "$@"; }
26 26

  
27
table_make_install()
28
{
29
	echo_func
30
	local verbosity_min= # install logs require default verbosity
31
	set -- table_make "$@"
32
	if remaking || test ! -e "$install_log"; then "$@" # OK to clobber log
33
	else benign_error=1 noclobber=1 "$@" || true
34
	fi
35
}
36

  
27 37
map_table()
28 38
{
29 39
	echo_func; set_make_vars
......
58 68
load_data()
59 69
{
60 70
	echo_func; set_make_vars
61
	local verbosity_min= # install logs require default verbosity
62
	set -- table_make ${_remake:+re}install # just the table
63
	if remaking || test ! -e "$install_log"; then "$@" # OK to clobber log
64
	else benign_error=1 noclobber=1 "$@" || true
65
	fi
71
	table_make_install ${_remake:+re}install # just the table
66 72
}
67 73

  
68 74
import()

Also available in: Unified diff