From fdc64b303cd2ffa8eaa1f914d9b4b64df2a7ae0f Mon Sep 17 00:00:00 2001 From: weidongkl Date: Mon, 15 Jan 2024 15:13:51 +0800 Subject: [PATCH] Fix curl failed (#1094) ``` curl version is 7.61.1 in rhel8.8, and --no-progress-meter is added in 7.67.0. so there is error curl: option --no-progress-meter: is unknown For better compatibility, we shoule use the option -sS ``` Signed-off-by: weidongkl --- generator/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/Makefile b/generator/Makefile index 5a144505..4ac00ca2 100644 --- a/generator/Makefile +++ b/generator/Makefile @@ -14,7 +14,7 @@ MIBDIR := mibs MIB_PATH := 'mibs' -CURL_OPTS ?= -L --no-progress-meter --retry 3 --retry-delay 3 --fail +CURL_OPTS ?= -L -sS --retry 3 --retry-delay 3 --fail REPO_TAG ?= $(shell git rev-parse --abbrev-ref HEAD)