Revision 11393
Added by Aaron Marcuse-Kubitza about 11 years ago
bin/import_all | ||
---|---|---|
22 | 22 |
|
23 | 23 |
make schemas/$version/install |
24 | 24 |
|
25 |
local hidden_srcs=1; . "$selfDir/with_all" Source/import by_col=1 "$@" |
|
25 |
local hidden_srcs=1; . "$selfDir/with_all" Source/import_temp by_col=1 "$@"
|
|
26 | 26 |
# note that this isn't affected by $import_source |
27 | 27 |
wait # wait for asynchronous commands |
28 | 28 |
unset hidden_srcs |
... | ... | |
30 | 30 |
local import_source= # Source tables have already been imported |
31 | 31 |
export import_source # must come after local |
32 | 32 |
|
33 |
# publish datasources that won't be published by `make .../import` |
|
34 |
make inputs/.TNRS/publish |
|
35 |
make inputs/.geoscrub/publish |
|
36 |
|
|
33 | 37 |
make inputs/.herbaria/import "$@" & |
34 | 38 |
sleep 5 # wait for make commands to scroll by |
35 | 39 |
|
Also available in: Unified diff
bugfix: bin/import_all: need to publish datasources that won't be published by `make .../import`, so that the per-datasource import XPaths that refer to TNRS/geoscrub will link up with the TNRS/geoscrub source entry instead of creating a new entry without the metadata (because the entry with the metadata was named TNRS.new/geoscrub.new)