From: Remi Gacogne Date: Mon, 22 Dec 2025 14:12:35 +0000 (+0100) Subject: install_quiche: Only run `cargo cyclonedx` when present X-Git-Tag: rec-5.4.0-beta1~52^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d7fd06ad19ce7bbd03c16035be57e574c56291b;p=thirdparty%2Fpdns.git install_quiche: Only run `cargo cyclonedx` when present Signed-off-by: Remi Gacogne --- diff --git a/builder-support/helpers/install_quiche.sh b/builder-support/helpers/install_quiche.sh index 8c3dc16b2b..3827e756a8 100755 --- a/builder-support/helpers/install_quiche.sh +++ b/builder-support/helpers/install_quiche.sh @@ -73,8 +73,10 @@ Cflags: -I${INSTALL_PREFIX}/include Libs: -L${LIBDIR} -ldnsdist-quiche PC -/bin/cargo-cyclonedx cyclonedx -f json --spec-version 1.5 -mv quiche/quiche.cdx.json /dist/ +if [ -f /bin/cargo-cyclonedx ]; then + /bin/cargo-cyclonedx cyclonedx -f json --spec-version 1.5 + mv quiche/quiche.cdx.json /dist/ +fi cd .. rm -rf "${QUICHE_TARBALL}" "quiche-${QUICHE_VERSION}"