mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-12-12 05:21:00 +01:00
Use GitHub instead of openssl.org
This commit is contained in:
parent
3df795468c
commit
1b812e838d
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
openssl_url="https://www.openssl.org/source/openssl-${openssl_version}.tar.gz"
|
openssl_url="https://github.com/openssl/openssl/releases/download/openssl-${openssl_version}/openssl-${openssl_version}.tar.gz"
|
||||||
if command -v sha256sum >/dev/null; then
|
if command -v sha256sum >/dev/null; then
|
||||||
openssl_sha256=$(sha256sum "$release_directory/$openssl_basename" | cut -d ' ' -f 1)
|
openssl_sha256=$(sha256sum "$release_directory/$openssl_basename" | cut -d ' ' -f 1)
|
||||||
elif command -v shasum >/dev/null; then
|
elif command -v shasum >/dev/null; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue