diff --git a/tooling/release_download_test.sh b/tooling/release_download_test.sh index 0308af6814..089ff9bb53 100755 --- a/tooling/release_download_test.sh +++ b/tooling/release_download_test.sh @@ -156,13 +156,13 @@ download_release_files() { # Parse the releases list for the one we want and download everything in it # shellcheck disable=SC2013 - echo $(date +%T) : Starting downloads ... + echo "$(date +%T) : Starting downloads ..." grep "${filter}" "${jdk_releases}" | awk -F'"' '/browser_download_url/{print$4}' | while read url; do # shellcheck disable=SC2046 print_verbose "IVT : Downloading $(basename "$url")" curl -LORsS -C - "$url" done - echo $(date +%T) : Finished downloads ... + echo "$(date +%T) : Finished downloads ..." } ######################################################################################################################## diff --git a/tooling/validateSBOMcontent.sh b/tooling/validateSBOMcontent.sh index 87776e7ffb..a48b4fa6a5 100755 --- a/tooling/validateSBOMcontent.sh +++ b/tooling/validateSBOMcontent.sh @@ -118,7 +118,7 @@ GITREPO=$(echo "$GITSHA" | cut -d/ -f1-5) GITSHA=$(echo "$GITSHA" | cut -d/ -f7) echo "Checking for temurin-build SHA $GITSHA in ${GITREPO}" -if ! git ls-remote "${GITREPO}" | grep "2D${GITSHA}" ]; then +if ! git ls-remote "${GITREPO}" | grep "${GITSHA}"; then echo "WARNING: temurin-build SHA check failed. This can happen if it was not a tagged level" if echo "$1" | grep '[0-9][0-9]-[0-9][0-9]-[0-9][0-9]-[0-9][0-9]' 2>/dev/null; then echo "Ignoring return code as filename looks like a nightly"