Project

General

Profile

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 10868 aaronmk
sleep 10 # wait for backup files to be created
17
backups/fix_perms
18 10585 aaronmk
wait # wait for asynchronous commands