From a8d4eef9b62afe2a03b01d284c6c7087ae7d7d74 Mon Sep 17 00:00:00 2001 From: "Begerad, Stefan" Date: Tue, 9 May 2023 11:11:31 +0200 Subject: [PATCH] fix: adjust makefile --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index e6aa0b3..2afa80b 100644 --- a/makefile +++ b/makefile @@ -13,7 +13,7 @@ load: $(addprefix load-,$(TABLES)) @$(psql) -t -A -c "SELECT FORMAT('* loaded %s', feed_file) WHERE feed_file = '$(GTFS)';" copy: $(ZHV) - $(psql) -c "\copy stops(stop_seq_no,stop_type,stop_dhid,stop_parent,stop_name,stop_lat,stop_lon,stop_municipality_code,stop_municipality,stop_district_code,stop_district,stop_condition,stop_state,stop_description,stop_authority,stop_delfi_name,stop_tariff_dhid,stop_tariff_name) FROM '$<' DELIMITER ',' CSV HEADER;" + $(psql) -c "\copy zhv.stops(stop_seq_no,stop_type,stop_dhid,stop_parent,stop_name,stop_lat,stop_lon,stop_municipality_code,stop_municipality,stop_district_code,stop_district,stop_condition,stop_state,stop_description,stop_authority,stop_delfi_name,stop_tariff_dhid,stop_tariff_name) FROM '$<' DELIMITER ',' CSV HEADER;" # -v: variable assignment, like the /set meta-command # $<: name of the firest prerequisite