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