mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
- only write the geoip database if the fetch was successful
This commit is contained in:
parent
b8a0bc209f
commit
fe503adef9
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -117,7 +117,8 @@ vendor/geoip: | vendor
|
|||
$(QUIET)mkdir $@
|
||||
|
||||
$(GEOIP): | vendor/geoip
|
||||
$(QUIET)wget -q -O - $(GEOIP_URL) | gzip -dc - > $@
|
||||
$(QUIET)wget -q -O - $(GEOIP_URL) | gzip -dc - > $@.tmp
|
||||
$(QUIET)mv $@.tmp $@
|
||||
|
||||
# Always run vendor/bundle
|
||||
.PHONY: fix-bundler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue