Revision 10759
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/runscripts/datasrc_dir.run | ||
---|---|---|
1 | 1 |
#!/bin/bash -e |
2 |
. "$(dirname "${BASH_SOURCE[0]}")"/util.run
|
|
2 |
. "$(dirname "${BASH_SOURCE[0]}")"/in_datasrc_dir.run
|
|
3 | 3 |
. "$(dirname "${BASH_SOURCE[0]}")"/import.run |
4 |
.rel ../sh/local.sh |
|
5 |
.rel ../sh/db_make.sh |
|
6 |
.rel ../sh/datasrc.sh |
|
7 | 4 |
|
8 | 5 |
if self_not_included; then |
9 | 6 |
|
10 |
: "${schema="$(log+ 2 cd "$top_dir"; basename "$PWD")"}"; export schema |
|
11 |
dir2schema |
|
12 |
|
|
13 | 7 |
subdirs=($(cat "$top_dir"/import_order.txt)) |
14 | 8 |
|
15 | 9 |
import() |
lib/runscripts/in_datasrc_dir.run | ||
---|---|---|
1 |
#!/bin/bash -e |
|
2 |
. "$(dirname "${BASH_SOURCE[0]}")"/util.run |
|
3 |
.rel ../sh/local.sh |
|
4 |
.rel ../sh/db_make.sh |
|
5 |
.rel ../sh/datasrc.sh |
|
6 |
|
|
7 |
if self_not_included; then |
|
8 |
|
|
9 |
: "${schema="$(log+ 2 cd "$top_dir"; basename "$PWD")"}"; export schema |
|
10 |
dir2schema |
|
11 |
|
|
12 |
fi |
|
0 | 13 |
Also available in: Unified diff
lib/runscripts/datasrc_dir.run: moved commands related to any runscript in the datasrc dir to new in_datasrc_dir.run