root/inputs/GBIF/table.run @ 8977
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 | 8961 | aaronmk | table.tsv/make ()
|
7 | 8286 | aaronmk | {
|
8 | 8963 | aaronmk | echo_func; set_make_vars
|
9 | 8964 | aaronmk | ! test -e "$target" || return 0 |
10 | 8965 | aaronmk | extern "$(dirname "${BASH_SOURCE[0]}")"/MySQL_export >"$target" |
11 | 8286 | aaronmk | }
|
12 | |||
13 | 8961 | aaronmk | export_mysql ()
|
14 | {
|
||
15 | echo_func |
||
16 | table.tsv/make |
||
17 | }
|
||
18 | |||
19 | 8286 | aaronmk | import ()
|
20 | {
|
||
21 | 8881 | aaronmk | echo_func |
22 | 8950 | aaronmk | export_mysql |
23 | 8774 | aaronmk | "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/table.run "$FUNCNAME" "$@" |
24 | 8286 | aaronmk | }
|
25 | 8705 | aaronmk | |
26 | fi
|