From 14710d64195cb40a420b4be369d1466d4f9a35d3 Mon Sep 17 00:00:00 2001 From: Brad Oyler Date: Sun, 18 Jun 2017 17:06:17 -0400 Subject: [PATCH] adds curl option to follow redirects --- us-cities/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/us-cities/Makefile b/us-cities/Makefile index 1c667ff..5e646f9 100644 --- a/us-cities/Makefile +++ b/us-cities/Makefile @@ -16,7 +16,7 @@ STATES_OVER_50k=hi me nh nd sc vt wv wy vi pr gz/%.tar.gz: mkdir -p $(dir $@) - curl 'http://dds.cr.usgs.gov/pub/data/nationalatlas/$(notdir $@)' -o $@.download + curl -L 'http://dds.cr.usgs.gov/pub/data/nationalatlas/$(notdir $@)' -o $@.download mv $@.download $@ shp/us/cities-raw.shp: gz/citiesx020_nt00007.tar.gz