diff --git a/IV/Makefile b/IV/Makefile index f9b22a8..8ced223 100644 --- a/IV/Makefile +++ b/IV/Makefile @@ -2,7 +2,7 @@ EMPTY := SPACE := $(EMPTY) $(EMPTY) -RIVERS ?= Visinčia Šalčia Žeimena Lakaja +RIVERS ?= Visinčia Šalčia Žeimena Lakaja Nemunas .faux_filter-rivers: .faux_import-osm ./filter-rivers-query.awk $(RIVERS) | ./db -f - diff --git a/IV/filter-rivers-query.awk b/IV/filter-rivers-query.awk index f82101c..4991147 100755 --- a/IV/filter-rivers-query.awk +++ b/IV/filter-rivers-query.awk @@ -1,7 +1,7 @@ #!/usr/bin/awk -f BEGIN { - print "DROP TABLE IF EXISTS rivers;"; + print "DROP TABLE IF EXISTS rivers;" printf "CREATE TABLE rivers AS SELECT name,way FROM planet_osm_line WHERE " for (i = 1; i < ARGC; i++) { printf "name='%s'", ARGV[i]