1
|
#!/bin/bash -e
|
2
|
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/table.run
|
3
|
|
4
|
if self_not_included; then
|
5
|
|
6
|
table.tsv.md5/make()
|
7
|
{
|
8
|
echo_func; set_make_vars; check_target_exists
|
9
|
silent=1 table_make "$target_filename"
|
10
|
}
|
11
|
|
12
|
table.tsv/make() # usage: [remake=1] [limit=...] .../run table.tsv/make
|
13
|
{
|
14
|
echo_func; set_make_vars; check_target_exists
|
15
|
to_target mysql_export_local
|
16
|
"$target_filename".md5/make
|
17
|
}
|
18
|
|
19
|
export_mysql()
|
20
|
{
|
21
|
echo_func
|
22
|
table.tsv/make
|
23
|
}
|
24
|
|
25
|
func_override import__table_run
|
26
|
import()
|
27
|
{
|
28
|
echo_func
|
29
|
export_mysql
|
30
|
import__table_run "$@"
|
31
|
}
|
32
|
|
33
|
fi
|