From: Michael Tremer Date: Tue, 9 Jul 2024 19:56:52 +0000 (+0000) Subject: make.sh: Fix toolchain checksum validation X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7c2b6cf6326d7b05aaab22ca277c0088eeb553c6;p=people%2Fms%2Fipfire-2.x.git make.sh: Fix toolchain checksum validation Signed-off-by: Michael Tremer --- diff --git a/make.sh b/make.sh index dc568b99b..7dfdfc57b 100755 --- a/make.sh +++ b/make.sh @@ -1135,7 +1135,7 @@ download_toolchain() { fi # Check integrity - if ! b2sum --quiet --check "${tmp}/${checksums}"; then + if ! cd "${tmp}" && b2sum --quiet --check "${checksums}"; then # Cleanup rm -rf "${tmp}" @@ -1234,7 +1234,7 @@ compress_toolchain() { fi # Create the checksums - if ! b2sum "${tmp}/${toolchain}" > "${tmp}/${checksums}"; then + if ! cd "${tmp}" && b2sum "${toolchain}" > "${tmp}/${checksums}"; then # Cleanup rm -rf "${tmp}"