From 9d7c35f56764651e850ef11128d838a3a5504051 Mon Sep 17 00:00:00 2001 From: "U-BAMS\\philippe.renon" Date: Thu, 18 Aug 2022 20:58:13 +0200 Subject: [PATCH] tools: fix md5sum check on MSYS2 md5sum output has changed apparently now it outputs " *-" instead of " -" --- tool_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool_install.sh b/tool_install.sh index 3a41fddbc..081c06261 100755 --- a/tool_install.sh +++ b/tool_install.sh @@ -191,7 +191,7 @@ function download_and_verify fi elif [ -n "${tool_md5:-}" ] then - if [[ "${tool_md5:-} -" != "$(cd "$downloads_dir" && md5sum <"$downloaded_file")" ]] + if [[ "$(cd "$downloads_dir" && md5sum <"$downloaded_file")" != ${tool_md5:-}* ]] then mv -f "$downloaded_file"{,.rej} && \ verified=false