root/bin/after_import @ 10798
1 |
#!/bin/bash
|
---|---|
2 |
# Perform post-normalized-import actions
|
3 |
# usage: version=... self [wait_for_pids...]
|
4 |
|
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 |