Revision 1922
Added by Aaron Marcuse-Kubitza over 12 years ago
input.Makefile | ||
---|---|---|
149 | 149 |
echo 'DROP SCHEMA IF EXISTS "$(datasrc)" CASCADE;'|$(psqlAsBien) |
150 | 150 |
|
151 | 151 |
import/install-%: _always |
152 |
env datasrc=$(datasrc) table=$* $(withCatSrcs) $(bin)/csv2ddl$(if\
|
|
152 |
env schema=$(datasrc) table=$* $(withCatSrcs) $(bin)/csv2ddl$(if\
|
|
153 | 153 |
$(debug),|tee /dev/fd/2)|$(psqlAsBien) |
154 | 154 |
#-echo "COPY $(datasrc).;"|$(psqlAsBien) |
155 | 155 |
|
Also available in: Unified diff
csv2ddl: Renamed schema name env var from datasrc to schema to reflect what it is, and to make the script general beyond importing inputs