Skip to content

Commit 818b32a

Browse files
committed
SCRIPTS: build-ssl: clone the quictls branch directly
Allow to clone the quictls branch directly using the value from QUICTLS_VERSION.
1 parent b4f64c0 commit 818b32a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/build-ssl.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,11 @@ build_aws_lc_fips () {
196196

197197
download_quictls () {
198198
if [ ! -d "${BUILDSSL_TMPDIR}/quictls" ]; then
199-
git clone --depth=1 ${QUICTLS_URL} ${BUILDSSL_TMPDIR}/quictls
199+
git clone -b "${QUICTLS_VERSION}" --depth=1 ${QUICTLS_URL} ${BUILDSSL_TMPDIR}/quictls
200200
else
201201
(
202202
cd ${BUILDSSL_TMPDIR}/quictls
203-
git checkout "${QUICTLS_VERSION}"
203+
git checkout "${QUICTLS_VERSION}" || exit 1
204204
git pull
205205
)
206206
fi

0 commit comments

Comments
 (0)