Update build.yml

This commit is contained in:
Jay Lee
2022-01-25 14:46:33 -05:00
committed by GitHub
parent b4e01737c7
commit b3cf0c1bde

View File

@@ -373,11 +373,8 @@ jobs:
exit 1
fi
export openssl_line=$(echo -e "${voutput}" | grep "OpenSSL ")
echo "OpenSSL line: ${openssl_line}"
export openssl_arr=($openssl_line)
echo "OpenSSL arr: ${openssl_arr}"
export this_openssl="${openssl_arr[1]}"
export "${openssl[0]} ${openssl[1]}"
if [[ "${this_openssl}" != "${COMPILED_OPENSSL_VERSION}" ]]; then
echo "ERROR: Tried to compile OpenSSL ${COMPILED_OPENSSL_VERSION} but ended up with ${this_openssl}"
exit 1