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