Revision 10586
Added by Aaron Marcuse-Kubitza over 11 years ago
import_all | ||
---|---|---|
41 | 41 |
local jobs="$(jobs -p)" |
42 | 42 |
echo "import_scrub PIDs: $jobs" >&2 |
43 | 43 |
|
44 |
after_import () |
|
45 |
{ |
|
46 |
bin/waitpid $jobs |
|
47 |
|
|
48 |
bin/make_analytical_db |
|
49 |
|
|
50 |
make backups/TNRS.backup-remake & |
|
51 |
dump_opts=${dump_opts---exclude-schema=public} \ |
|
52 |
make backups/vegbien.$version.backup/test & |
|
53 |
wait # wait for asynchronous commands |
|
54 |
} |
|
55 |
|
|
56 |
after_import & |
|
44 |
bin/after_import $jobs & |
|
57 | 45 |
echo "after_import PID: $!" >&2 |
58 | 46 |
|
59 | 47 |
. bin/disown_all |
Also available in: Unified diff
bin/import_all: use new bin/after_import