From 3ed233fc255e93128f64c5d39dd43a9d8f5ec4e8 Mon Sep 17 00:00:00 2001 From: Scott Fryer Date: Tue, 30 Apr 2024 10:30:19 +0100 Subject: [PATCH] Linter fixes --- docker/buildDocker.sh | 4 ++-- tooling/reproducible/linux_repro_build_compare.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/buildDocker.sh b/docker/buildDocker.sh index dcf7415bde..4b23447b8a 100755 --- a/docker/buildDocker.sh +++ b/docker/buildDocker.sh @@ -130,8 +130,8 @@ useEclipseOpenJ9DockerFiles() cd "$dockerfileDir" || { echo "Dockerfile directory ($dockerfileDir) was not found"; exit 3; } getFile https://raw.githubusercontent.com/eclipse-openj9/openj9/master/buildenv/docker/mkdocker.sh mkdocker.sh MKDOCK_SHA="a09a00c2beb9c53985b4c3ed6fb62825d90808775941ab56417bef75a575be55" - local downloaded_sha=$(sha256sum mkdocker.sh | awk '{print $1}') - if [ "$downloaded_sha" != "$MKDOCK_SHA" ]; then + mkd_downloaded_sha=$(sha256sum mkdocker.sh | awk '{print $1}') + if [ "$mkd_downloaded_sha" != "$MKDOCK_SHA" ]; then echo "ERROR: SHA256 checksum mismatch for mkdocker.sh" exit 1 fi diff --git a/tooling/reproducible/linux_repro_build_compare.sh b/tooling/reproducible/linux_repro_build_compare.sh index acee7eda70..84939c88b0 100755 --- a/tooling/reproducible/linux_repro_build_compare.sh +++ b/tooling/reproducible/linux_repro_build_compare.sh @@ -35,7 +35,7 @@ installPrereqs() { if [ ! -r /usr/local/bin/autoconf ]; then curl --output ./autoconf-2.69.tar.gz https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz ACSHA256=954bd69b391edc12d6a4a51a2dd1476543da5c6bbf05a95b59dc0dd6fd4c2969 - ACCHKSHA=`sha256sum ./autoconf-2.69.tar.gz|cut -d" " -f1 + ACCHKSHA=`sha256sum ./autoconf-2.69.tar.gz|cut -d" " -f1` if [[ "$ACSHA256" == "$ACCHKSHA" ]]; then echo "Hi" cat ./autoconf-2.69.tar.gz | tar xpfz - || exit 1