1 |
8797
|
aaronmk
|
#!/bin/bash -e
|
2 |
|
|
. "$(dirname "${BASH_SOURCE[0]}")"/lib/runscripts/import.run
|
3 |
9013
|
aaronmk
|
. "$(dirname "${BASH_SOURCE[0]}")"/lib/sh/local.sh
|
4 |
9043
|
aaronmk
|
. "$(dirname "${BASH_SOURCE[0]}")"/lib/sh/make.sh
|
5 |
8797
|
aaronmk
|
|
6 |
|
|
if self_not_included; then
|
7 |
|
|
|
8 |
8802
|
aaronmk
|
: "${schema:=public}"
|
9 |
|
|
: "${exports_dir:="$top_dir"/exports}"
|
10 |
8797
|
aaronmk
|
|
11 |
9043
|
aaronmk
|
geoscrub_input/make ()
|
12 |
|
|
{
|
13 |
|
|
echo_func; set_make_vars
|
14 |
|
|
pg_export_table_to_dir_no_header "$target_filename"
|
15 |
|
|
}
|
16 |
|
|
|
17 |
8797
|
aaronmk
|
export_ ()
|
18 |
|
|
{
|
19 |
8881
|
aaronmk
|
echo_func
|
20 |
9043
|
aaronmk
|
geoscrub_input/make
|
21 |
8797
|
aaronmk
|
}
|
22 |
|
|
|
23 |
|
|
fi
|