From 8bc76acb0357d96db3e83d23574e34f54ad69063 Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Fri, 4 Oct 2024 18:29:10 +0200 Subject: [PATCH] cmake: improve external project error traces In case of mismatched download MD5 checksum. --- thirdparty/cmake_modules/koenv.sh | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/thirdparty/cmake_modules/koenv.sh b/thirdparty/cmake_modules/koenv.sh index 929384df6..1d52e2a83 100644 --- a/thirdparty/cmake_modules/koenv.sh +++ b/thirdparty/cmake_modules/koenv.sh @@ -58,11 +58,19 @@ run() { "$@" } -validate_md5() { - [ -r "$1" ] && md5sum -c <