root/bin/after_import @ 10823
1 | 10585 | aaronmk | #!/bin/bash
|
---|---|---|---|
2 | # Perform post-normalized-import actions
|
||
3 | 10589 | aaronmk | # usage: version=... self [wait_for_pids...]
|
4 | 10585 | aaronmk | |
5 | cd "$(dirname -- "${BASH_SOURCE[0]}")/.." |
||
6 | |||
7 | set -x |
||
8 | |||
9 | bin/waitpid "$@" |
||
10 | |||
11 | bin/make_analytical_db |
||
12 | |||
13 | make backups/TNRS.backup-remake & |
||
14 | dump_opts=${dump_opts---exclude-schema=public} \ |
||
15 | make backups/vegbien.$version.backup/test &
|
||
16 | wait # wait for asynchronous commands |