Revision 3616
Added by Aaron Marcuse-Kubitza over 12 years ago
inputs/input.Makefile | ||
---|---|---|
290 | 290 |
trace = $(log_:.log.sql=.trace) |
291 | 291 |
import = -$(if $(profileTest),$(profileOnly),(set -x; "time" env commit=1\ |
292 | 292 |
$(if $(profile),profile_to=$(trace)) $(map2db)) $(if $(log),\ |
293 |
$(if $(n),,&>>$(log_)))$(if $(log),$(if $(n), 2>&1|tee -a $(log_))))
|
|
293 |
$(if $(n),,&>$(log_)))$(if $(log),$(if $(n), 2>&1|tee -a $(log_)))) |
|
294 | 294 |
# don't abort on import errors, which often relate to invalid input data |
295 | 295 |
|
296 | 296 |
import: $(addprefix import-,$(tables)) _always ; |
Also available in: Unified diff
input.Makefile: Import to VegBIEN: Fixed bug where `&>>` was used to append stdout and stderr to the log file, but is not supported on Mac OS X. Replaced with `&>` (overwrite instead of append) because log file is unique by date/time the import runs, so there won't be an existing log file that would be overwritten.