Project

General

Profile

« Previous | Next » 

Revision 12794

fix: inputs/input.Makefile: %/install: don't ignore errors if table does not exist, to ensure a proper errexit. this is now possible because every dir that this target is being run on should be a data dir. (Source/ used to be a metadata-only dir.)

View differences:

input.Makefile
315 315
%/install: _always
316 316
	$(if $(isCsv),$(import_install_))
317 317
	$(selfMake) "$*/postprocess"
318
	-$(exportHeader)
319
	-$(if $(isCsv),,$(cleanup))
320
# ignore errors if table does not exist (non-data dir)
318
	$(exportHeader)
319
	$(if $(isCsv),,$(cleanup))
321 320
define import_install_
322 321
(. $(bin)/vegbien_dest; unset schemas; "time" nice -n +5\
323 322
env schema=$(datasrc) table=$* $(bin)/csv2db $(catSrcs) $(logInstall*))

Also available in: Unified diff