Skip to content

Commit

Permalink
Fix curl failed (#1094)
Browse files Browse the repository at this point in the history
```
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 <[email protected]>
  • Loading branch information
weidongkx authored Jan 15, 2024
1 parent b75fc6b commit fdc64b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit fdc64b3

Please sign in to comment.