Skip to content

Commit f908a9b

Browse files
committed
refactor: switch from clone to wget for openssl repo.
1 parent d6f25d9 commit f908a9b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/dependency_install_functions.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,10 @@ install_openssl() {
587587
"$SUDO_CMD" apt update
588588
"$SUDO_CMD" apt install -y build-essential git
589589

590-
git clone https://github.com/openssl/openssl "${PROJECT_ROOT}/external/openssl"
590+
wget "https://github.com/openssl/openssl/releases/download/openssl-${DATAFED_OPENSSL}/openssl-${DATAFED_OPENSSL}.tar.gz"
591+
mkdir -p "${PROJECT_ROOT}/external/openssl"
592+
tar -xvzf "openssl-${DATAFED_OPENSSL}.tar.gz" -C "${PROJECT_ROOT}/external/openssl" --strip-components=1
593+
591594
cd "${PROJECT_ROOT}/external/openssl"
592595
git checkout "$DATAFED_OPENSSL_COMMIT"
593596
./config --prefix="${DATAFED_DEPENDENCIES_INSTALL_PATH}"

0 commit comments

Comments
 (0)