root/lib/runscripts/datasrc_dir.run @ 9962
1 |
#!/bin/bash -e
|
---|---|
2 |
. "$(dirname "${BASH_SOURCE[0]}")"/util.run |
3 |
. "$(dirname "${BASH_SOURCE[0]}")"/import.run |
4 |
.rel ../sh/local.sh |
5 |
.rel ../sh/db_make.sh |
6 |
|
7 |
if self_not_included; then |
8 |
|
9 |
: "${schema="$(log+ 2 cd "$top_dir"; basename "$PWD")"}"; export schema |
10 |
|
11 |
subdirs=($(cat "$top_dir"/import_order.txt)) |
12 |
|
13 |
import()
|
14 |
{
|
15 |
echo_func |
16 |
fwd "$FUNCNAME" "$@" |
17 |
}
|
18 |
|
19 |
fi
|