Project

General

Profile

« Previous | Next » 

Revision 9043

/run: moved geoscrub_input export into separate geoscrub_input/make () target

View differences:

run
1 1
#!/bin/bash -e
2 2
. "$(dirname "${BASH_SOURCE[0]}")"/lib/runscripts/import.run
3 3
. "$(dirname "${BASH_SOURCE[0]}")"/lib/sh/local.sh
4
. "$(dirname "${BASH_SOURCE[0]}")"/lib/sh/make.sh
4 5

  
5 6
if self_not_included; then
6 7

  
7 8
: "${schema:=public}"
8 9
: "${exports_dir:="$top_dir"/exports}"
9 10

  
11
geoscrub_input/make ()
12
{
13
	echo_func; set_make_vars
14
	pg_export_table_to_dir_no_header "$target_filename"
15
}
16

  
10 17
export_ ()
11 18
{
12 19
	echo_func
13
	pg_export_table_to_dir_no_header geoscrub_input "$@"
20
	geoscrub_input/make
14 21
}
15 22

  
16 23
fi

Also available in: Unified diff