root/lib/runscripts/datasrc_dir.run @ 10526
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 |
.rel ../sh/datasrc.sh |
7 |
|
8 |
if self_not_included; then |
9 |
|
10 |
: "${schema="$(log+ 2 cd "$top_dir"; basename "$PWD")"}"; export schema |
11 |
dir2schema |
12 |
|
13 |
subdirs=($(cat "$top_dir"/import_order.txt)) |
14 |
|
15 |
import()
|
16 |
{
|
17 |
echo_func |
18 |
fwd "$FUNCNAME" "$@" |
19 |
}
|
20 |
|
21 |
fi
|