commit | d78671879b8779ef73b7b256f6d0eeb874ce6687 | [log] [tgz] |
---|---|---|
author | Aurelien Regat-Barrel <arb@cyberkarma.net> | Sun Oct 30 02:26:37 2022 +0200 |
committer | Brad King <brad.king@kitware.com> | Sun Oct 30 08:42:19 2022 -0400 |
tree | 5514ae5e3d1b5c219725688c07cf1b5663421856 | |
parent | 59ae2543165b836d01b88fe0ba4e22ecd549e239 [diff] |
file(DOWNLOAD): Fix LOG with EXPECTED_HASH on download failure When `file(DOWNLOAD <url> EXPECTED_HASH <hash> LOG <logs>)` fails to download the requested file, the hash check will also fail and make the command exit without actually returning the curl logs as requested by the `LOG` argument. Report the log before checking the hash. Issue: #24093