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 |
9348
|
aaronmk
|
table.tsv/make() # usage: [remake=1] [limit=...] .../run table.tsv/make
|
8 |
8286
|
aaronmk
|
{
|
9 |
8990
|
aaronmk
|
echo_func; set_make_vars; check_target_exists
|
10 |
9154
|
aaronmk
|
to_target mysql_export_local
|
11 |
8286
|
aaronmk
|
}
|
12 |
|
|
|
13 |
9074
|
aaronmk
|
export_mysql()
|
14 |
8961
|
aaronmk
|
{
|
15 |
|
|
echo_func
|
16 |
|
|
table.tsv/make
|
17 |
|
|
}
|
18 |
|
|
|
19 |
9039
|
aaronmk
|
func_override import__table_run
|
20 |
9074
|
aaronmk
|
import()
|
21 |
8286
|
aaronmk
|
{
|
22 |
8881
|
aaronmk
|
echo_func
|
23 |
8950
|
aaronmk
|
export_mysql
|
24 |
9039
|
aaronmk
|
import__table_run "$@"
|
25 |
8286
|
aaronmk
|
}
|
26 |
8705
|
aaronmk
|
|
27 |
|
|
fi
|