Skip to content

Commit 7709531

Browse files
committed
Merge branch 'update/mbedtls-3.6.0' into development
2 parents 7e6267c + aa04e13 commit 7709531

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

scripts/mbedtls/download.sh

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
#!/usr/bin/env bash
22

3-
source ${SCRIPTS_DIR}/common-functions.sh
3+
MBEDTLS_VERSION=v3.6.0
44

5-
export MBEDTLS_VERSION=3.5.2
6-
downloadTarArchive \
7-
"mbedtls" \
8-
"https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v${MBEDTLS_VERSION}.tar.gz" \
9-
true
5+
git clone \
6+
--depth 1 \
7+
--branch $MBEDTLS_VERSION \
8+
--recursive \
9+
https://github.com/Mbed-TLS/mbedtls.git \
10+
$MBEDTLS_VERSION
11+
12+
LIBRARY_NAME=mbedtls
13+
export SOURCES_DIR_${LIBRARY_NAME}=$(pwd)/${MBEDTLS_VERSION}

0 commit comments

Comments
 (0)