Project

General

Profile

« Previous | Next » 

Revision 12779

*{.sh,run}: use new begin_target instead of `echo_func; set_make_vars`

View differences:

mysql.table.run
11 11

  
12 12
table.tsv.md5/make()
13 13
{
14
	echo_func; set_make_vars; check_target_exists
14
	begin_target; check_target_exists
15 15
	table_make "$target_filename"
16 16
}
17 17

  
18 18
table.tsv.gz/upload()
19 19
{
20
	echo_func; set_make_vars
20
	begin_target
21 21
	live=1 sync_upload "$target"
22 22
}
23 23

  
24 24
table.tsv.gz/make()
25 25
{
26
	echo_func; set_make_vars
26
	begin_target
27 27
	table_make "$target_filename"
28 28
	if test ! "$test"; then table.tsv.gz/upload; fi
29 29
}
30 30

  
31 31
table.tsv/make() # usage: [remake=1] [limit=...] .../run table.tsv/make
32 32
{
33
	echo_func; set_make_vars; check_target_exists
33
	begin_target; check_target_exists
34 34
	(set_large_table; to_target mysql_export_local) || return
35 35
	remake=1 bg_cmd "$target_filename".gz/make; sleep 6 # wait for log msgs
36 36
	remake=1 "$target_filename".md5/make
......
46 46

  
47 47
archive_prev_versions()
48 48
{
49
	echo_func; set_make_vars
49
	begin_target
50 50
	(mv_glob table.*.tsv "$top_dir"/_archive/)
51 51
}
52 52

  
53 53
func_override import__table_run
54 54
import()
55 55
{
56
	echo_func; set_make_vars
56
	begin_target
57 57
	export_mysql
58 58
	archive_prev_versions
59 59
	self_make import__table_run "$@"

Also available in: Unified diff