diff options
author | Craig Scott <craig.scott@crascit.com> | 2022-08-26 10:53:38 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-08-26 10:53:46 (GMT) |
commit | bbda95e7bde9e97d1d03322c6a54e89871045a3b (patch) | |
tree | 1cddc951a2c7bb8242345c70cb69fd8f8cefe7ab /Source | |
parent | 8a47cd4b7e70cfb25329a92873300cc31eabd076 (diff) | |
parent | 666b3c6f1305e4cb9d42bead935f95debb6cb543 (diff) | |
download | CMake-bbda95e7bde9e97d1d03322c6a54e89871045a3b.zip CMake-bbda95e7bde9e97d1d03322c6a54e89871045a3b.tar.gz CMake-bbda95e7bde9e97d1d03322c6a54e89871045a3b.tar.bz2 |
Merge topic 'file-DOWNLOAD-existing-file-matched-message'
666b3c6f13 Help: Clarify file(DOWNLOAD) behavior for existing file with same hash
87a40b720a file(DOWNLOAD): Fix message for existing file with matching hash
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7599
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmFileCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 330d991..7810040 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -1914,7 +1914,7 @@ bool HandleDownloadCommand(std::vector<std::string> const& args, std::string msg; std::string actualHash = hash->HashFile(file); if (actualHash == expectedHash) { - msg = cmStrCat("returning early; file already exists with expected ", + msg = cmStrCat("skipping download as file already exists with expected ", hashMatchMSG, '"'); if (!statusVar.empty()) { status.GetMakefile().AddDefinition(statusVar, cmStrCat(0, ";\"", msg)); |