Skip to content

Commit 4e04832

Browse files
committed
refactor: switch from clone to wget for openssl repo.
1 parent 57483e1 commit 4e04832

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
@@ -592,7 +592,10 @@ install_openssl() {
592592
"$SUDO_CMD" apt update
593593
"$SUDO_CMD" apt install -y build-essential git
594594

595-
git clone https://github.com/openssl/openssl "${PROJECT_ROOT}/external/openssl"
595+
wget "https://github.com/openssl/openssl/releases/download/openssl-${DATAFED_OPENSSL}/openssl-${DATAFED_OPENSSL}.tar.gz"
596+
mkdir -p "${PROJECT_ROOT}/external/openssl"
597+
tar -xvzf "openssl-${DATAFED_OPENSSL}.tar.gz" -C "${PROJECT_ROOT}/external/openssl" --strip-components=1
598+
596599
cd "${PROJECT_ROOT}/external/openssl"
597600
./config --prefix="${DATAFED_DEPENDENCIES_INSTALL_PATH}"
598601
make -j 8

0 commit comments

Comments
 (0)