From a2c02961b497c8c1b04c5eedf35776d6dc9825fe Mon Sep 17 00:00:00 2001 From: Pablo Baeyens Date: Mon, 9 Jan 2023 19:33:14 +0100 Subject: [PATCH] Add --fail option to curl when downloading builder (#263) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8ddd15b9..88358ca2 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ ifeq (, $(shell command -v ocb 2>/dev/null)) [ "$${machine}" != x86_64 ] || machine=amd64 ;\ echo "Installing ocb ($${os}/$${machine}) at $(OTELCOL_BUILDER_DIR)";\ mkdir -p $(OTELCOL_BUILDER_DIR) ;\ - curl -sLo $(OTELCOL_BUILDER) "https://github.com/open-telemetry/opentelemetry-collector/releases/download/cmd%2Fbuilder%2Fv$(OTELCOL_BUILDER_VERSION)/ocb_$(OTELCOL_BUILDER_VERSION)_$${os}_$${machine}" ;\ + curl -sfLo $(OTELCOL_BUILDER) "https://github.com/open-telemetry/opentelemetry-collector/releases/download/cmd%2Fbuilder%2Fv$(OTELCOL_BUILDER_VERSION)/ocb_$(OTELCOL_BUILDER_VERSION)_$${os}_$${machine}" ;\ chmod +x $(OTELCOL_BUILDER) ;\ } else