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 11429 aaronmk
: "${backup=1}"
8
9 10585 aaronmk
set -x
10
11
bin/waitpid "$@"
12
13
bin/make_analytical_db
14
15 11429 aaronmk
if test "$backup"; then
16 14395 aaronmk
	. bin/make_backups
17
	wait # wait for background processes launched by make_backups
18 11429 aaronmk
fi