tool/ports: curl timeout and retry in check.mk

This commit is contained in:
Christian Helmuth 2015-04-09 11:35:15 +02:00
parent 0fb5ce0918
commit 0ef20f7ece

View File

@ -55,7 +55,7 @@ check: $(DOWNLOADS)
# Check plain remote file
#
%.file:
$(VERBOSE)curl -f -L -k -r -2 $(URL($*)) > /dev/null 2>&1
$(VERBOSE)curl -f -L -k -r -2 --max-time 15 --retry 2 $(URL($*)) > /dev/null 2>&1
%.archive: %.file
$(VERBOSE)true