Project

General

Profile

« Previous | Next » 

Revision 7065

input.Makefile: Staging tables installation: $(cleanup): Moved setting of $schema, $table before vegbien_dest is run, so it can modify them if needed

View differences:

inputs/input.Makefile
238 238

  
239 239
cleanup = $(if $(wildcard $*/cleanup.sql),($(inDatasrc); cat $*/cleanup.sql)\
240 240
|"time" $(psqlNoSearchPath) --echo-all --set=table='"$*"' $(logInstall*Add),\
241
(. $(bin)/vegbien_dest; unset schemas; env schema=$(datasrc) table=$*\
241
(export schema=$(datasrc) table=$*; . $(bin)/vegbien_dest; unset schemas; \
242 242
$(bin)/csv2db) $(logInstall*Add))
243 243

  
244 244
define exportHeader

Also available in: Unified diff