From 7c2b6cf6326d7b05aaab22ca277c0088eeb553c6 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 9 Jul 2024 19:56:52 +0000 Subject: [PATCH] make.sh: Fix toolchain checksum validation Signed-off-by: Michael Tremer --- make.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}" -- 2.39.5