Commit 6b1e9d5
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 6b1e9d5
1 file changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
211 | 214 | | |
212 | 215 | | |
213 | | - | |
214 | | - | |
215 | | - | |
| 216 | + | |
216 | 217 | | |
217 | 218 | | |
218 | | - | |
219 | | - | |
220 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
221 | 224 | | |
222 | 225 | | |
| 226 | + | |
223 | 227 | | |
224 | 228 | | |
225 | 229 | | |
| 230 | + | |
226 | 231 | | |
227 | 232 | | |
228 | 233 | | |
| |||
0 commit comments