Skip to content

Commit 72a2025

Browse files
committed
refactor: switch from clone to wget for openssl repo.
1 parent f227d9f commit 72a2025

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
@@ -595,7 +595,10 @@ install_openssl() {
595595
"$SUDO_CMD" apt update
596596
"$SUDO_CMD" apt install -y build-essential git
597597

598-
git clone https://github.com/openssl/openssl "${PROJECT_ROOT}/external/openssl"
598+
wget "https://github.com/openssl/openssl/releases/download/openssl-${DATAFED_OPENSSL}/openssl-${DATAFED_OPENSSL}.tar.gz"
599+
mkdir -p "${PROJECT_ROOT}/external/openssl"
600+
tar -xvzf "openssl-${DATAFED_OPENSSL}.tar.gz" -C "${PROJECT_ROOT}/external/openssl" --strip-components=1
601+
599602
cd "${PROJECT_ROOT}/external/openssl"
600603
./config --prefix="${DATAFED_DEPENDENCIES_INSTALL_PATH}"
601604
make -j 8

0 commit comments

Comments
 (0)