mirror of
https://github.com/rbenv/ruby-build.git
synced 2026-05-15 00:46:53 -04:00
System openssl version reported by `pkg-config --modversion openssl` might end with a letter, e.g. "1.0.2k", due to OpenSSL versioning policy prior to OpenSSL v3: https://www.openssl-library.org/policies/general/versioning-policy/#history The letter would trip up the normalize_semver function due to it only handling numbers. This change switches to semver parsing via awk instead of doing it clumsily in bash. This also changes the multiplication factor of major version numbers, from 100000 to 10000, and adjusts static version comparisons accodingly. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| stubs | ||
| tmp | ||
| arguments.bats | ||
| build.bats | ||
| cache.bats | ||
| checksum.bats | ||
| compiler.bats | ||
| definitions.bats | ||
| fetch.bats | ||
| hooks.bats | ||
| installer.bats | ||
| mirror.bats | ||
| output.bats | ||
| rbenv.bats | ||
| test_helper.bash | ||
| version.bats | ||