mirror of
https://github.com/c0re100/qBittorrent-Enhanced-Edition.git
synced 2025-01-08 11:57:51 +08:00
fix cross_build (#435)
This commit is contained in:
parent
5455d14144
commit
012b7d7234
2
.github/workflows/cross_build.sh
vendored
2
.github/workflows/cross_build.sh
vendored
@ -205,7 +205,7 @@ prepare_zlib() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
prepare_ssl() {
|
prepare_ssl() {
|
||||||
openssl_filename="$(retry curl -ksSL --compressed https://www.openssl.org/source/ \| grep -o "'href=\"openssl-3.*tar.gz\"'" \| grep -o "'[^\"]*.tar.gz'")"
|
openssl_filename="$(retry curl -ksSL --compressed https://www.openssl.org/source/ \| grep -o "'href=\"openssl-3\(\.[0-9]*\)*tar.gz\"'" \| grep -o "'[^\"]*.tar.gz'" \| head -1)"
|
||||||
openssl_ver="$(echo "${openssl_filename}" | sed -r 's/openssl-(.+)\.tar\.gz/\1/')"
|
openssl_ver="$(echo "${openssl_filename}" | sed -r 's/openssl-(.+)\.tar\.gz/\1/')"
|
||||||
echo "OpenSSL version ${openssl_ver}"
|
echo "OpenSSL version ${openssl_ver}"
|
||||||
if [ ! -f "/usr/src/openssl-${openssl_ver}/.unpack_ok" ]; then
|
if [ ! -f "/usr/src/openssl-${openssl_ver}/.unpack_ok" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user