Project

General

Profile

« Previous | Next » 

Revision 11436

added lib/runscripts/import_subset.run, extract.run

View differences:

lib/runscripts/import_subset.run
1
#!/bin/bash -e
2
. "$(dirname "${BASH_SOURCE[0]}")"/extract.run "$@"
3

  
4
if self_not_included; then
5

  
6
export version="${top_filename%.csv}"
7
export public="$version"
8

  
9
all() # usage: inputs=(inputs/{src1,src2,...}/); ...
10
{
11
	echo_func; : "${inputs:?}"
12
	require_dot_script || return
13
	
14
	backup= . "$bin_dir"/import_all
15
	
16
	local jobs="$(jobs -p)"
17
	(waitpid $jobs; remake=1 export_) &
18
}
19

  
20
fi
0 21

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

  
5
if self_not_included; then
6

  
7
export_()
8
{
9
	echo_func; set_make_vars; deferred_check_target_exists
10
	table=analytical_stem to_top_file pg_export
11
}
12

  
13
fi
0 14

  

Also available in: Unified diff