Revision 7074
Added by Aaron Marcuse-Kubitza almost 12 years ago
inputs/input.Makefile | ||
---|---|---|
365 | 365 |
log_ = $*/logs/$(if $(n),n=$(n).,)$(version).log.sql |
366 | 366 |
trace = $(log_:.log.sql=.trace) |
367 | 367 |
import = -$(if $(profileTest),$(profileOnly),(set -x; "time" env commit=1\ |
368 |
$(if $(profile),profile_to=$(trace)) $(map2db)) $(if $(log),&>$(log_)))
|
|
368 |
$(if $(profile),profile_to=$(trace)) $(map2db))$(if $(log), 2>&1 >>$(log_)))
|
|
369 | 369 |
# don't abort on import errors, which often relate to invalid input data |
370 | 370 |
|
371 | 371 |
import? = $(if $(call and,$(public_import),$(call dontImport,.)),,$(import)) |
Also available in: Unified diff
input.Makefile: Import to VegBIEN: $(import): Append to the log file instead of replacing it, to avoid overwriting the log for a previous import to the same versioned schema. This allows a datasource to be (re-)imported multiple times, and is needed by the new method for linking taxonoccurrences to scrubbed taxonomic names.