We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1245ce4 commit 0d15b12Copy full SHA for 0d15b12
compileMbedtls.sh
@@ -17,11 +17,7 @@ rm -rf ${BUILD_DIR}
17
18
# Clone the repository for MbedTLS 4.0.0+
19
echo "Cloning MbedTLS ${MBEDTLS_VERSION}..."
20
-git clone --depth 1 --branch v${MBEDTLS_VERSION} https://github.com/Mbed-TLS/mbedtls.git ${BUILD_DIR}
21
-
22
-# Initialize submodules recursively
23
-echo "Initializing all submodules recursively..."
24
-(cd ${BUILD_DIR} && git submodule update --init --recursive --depth 1)
+git clone --depth 1 --branch v${MBEDTLS_VERSION} --recurse-submodules --shallow-submodules https://github.com/Mbed-TLS/mbedtls.git ${BUILD_DIR}
25
26
# install python requirements
27
python3 -m pip install -r ${BUILD_DIR}/scripts/basic.requirements.txt
0 commit comments