Project

General

Profile

« Previous | Next » 

Revision 1943

input.Makefile: Staging tables: import/install-%: Use new csv2db instead of csv2ddl/$(psqlAsBien), because it handles translating encodings properly

View differences:

input.Makefile
149 149
	echo 'DROP SCHEMA IF EXISTS "$(datasrc)" CASCADE;'|$(psqlAsBien)
150 150

  
151 151
import/install-%: _always
152
	$(catSrcs)|env schema=$(datasrc) table=$* $(bin)/csv2ddl$(if\
153
$(debug),|tee /dev/fd/2)|$(psqlAsBien)
152
	(prefix=; . $(bin)/vegbien_dest;\
153
env schema=$(datasrc) table=$* $(bin)/csv2db $(catSrcs))
154 154

  
155 155
##### Sources
156 156

  

Also available in: Unified diff