root/trunk/lib/runscripts/extract.run @ 12519
1 | 11436 | aaronmk | #!/bin/bash -e
|
---|---|---|---|
2 | . "$(dirname "${BASH_SOURCE[0]}")"/import.run "$@" |
||
3 | .rel ../sh/local.sh |
||
4 | |||
5 | if self_not_included; then |
||
6 | |||
7 | 11461 | aaronmk | export extract_view="${top_filename%.csv}" |
8 | |||
9 | 11436 | aaronmk | export_()
|
10 | {
|
||
11 | echo_func; set_make_vars; deferred_check_target_exists |
||
12 | 11461 | aaronmk | table="$extract_view" to_top_file pg_export |
13 | 11436 | aaronmk | }
|
14 | |||
15 | 11574 | aaronmk | export_sample() { echo_func; n=100 export_; } |
16 | |||
17 | 11436 | aaronmk | fi
|