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