Commit d797a5c
Fix curl version comparison
Thanks to @polkorny for identifying a bug in our curl version
comparison algorithm!
Previously, we'd have problems when curl bumps to version 9.0+ because
our logic would wrongly try to match the minor version to "-ge 16",
which wouldn't work until curl 9.16 is released.
Fix by making stricter comparisons against major and minor curl
versions.
Signed-off-by: Sergio Durigan Junior <[email protected]>
Reported-by: Matheus Polkorny <[email protected]>
Co-Authored-by: Matheus Polkorny <[email protected]>1 parent 9da9020 commit d797a5c
1 file changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | | - | |
| 213 | + | |
216 | 214 | | |
217 | 215 | | |
218 | | - | |
219 | | - | |
220 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| 227 | + | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
| |||
0 commit comments