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