]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
builder-support: Fix double spaces in Quiche and CycloneDX helpers 16687/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 6 Jan 2026 19:30:24 +0000 (20:30 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 6 Jan 2026 19:30:24 +0000 (20:30 +0100)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
builder-support/helpers/install_cargo_cyclonedx.sh
builder-support/helpers/install_quiche.sh

index 1c3430ff3e07816fef98cd0ea436d6fd10b94dde..8e850d47f95592516a30b5611b80817471995af3 100755 (executable)
@@ -14,7 +14,7 @@ echo $0: Downloading ${CARGO_CYCLONEDX_TARBALL}
 curl -L -o "${CARGO_CYCLONEDX_TARBALL}" "${CARGO_CYCLONEDX_TARBALL_URL}"
 echo $0: Checking that the hash of ${CARGO_CYCLONEDX_TARBALL} is ${CARGO_CYCLONEDX_TARBALL_HASH}
 # Line below should echo two spaces between digest and name
-echo "${CARGO_CYCLONEDX_TARBALL_HASH}"  "${CARGO_CYCLONEDX_TARBALL}" | sha256sum -c -
+echo "${CARGO_CYCLONEDX_TARBALL_HASH}""  ""${CARGO_CYCLONEDX_TARBALL}" | sha256sum -c -
 tar xf "${CARGO_CYCLONEDX_TARBALL}"
 cd "cyclonedx-rust-cargo-cargo-cyclonedx-${CARGO_CYCLONEDX_VERSION}"
 
index 3827e756a86d44324bf5441042cc3f42157cad60..a098b808b24edd1140204f35c90b3c9ceb7ae17b 100755 (executable)
@@ -36,7 +36,7 @@ echo $0: Downloading ${QUICHE_TARBALL}
 curl -L -o "${QUICHE_TARBALL}" "${QUICHE_TARBALL_URL}"
 echo $0: Checking that the hash of ${QUICHE_TARBALL} is ${QUICHE_TARBALL_HASH}
 # Line below should echo two spaces between digest and name
-echo "${QUICHE_TARBALL_HASH}"  "${QUICHE_TARBALL}" | sha256sum -c -
+echo "${QUICHE_TARBALL_HASH}""  ""${QUICHE_TARBALL}" | sha256sum -c -
 tar xf "${QUICHE_TARBALL}"
 cd "quiche-${QUICHE_VERSION}"
 # Disable SONAME in the quiche shared library, we do not intend this library to be used by anyone else and it makes things more complicated since we rename it to libdnsdist-quiche