mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 06:38:44 -05:00
Don't try and generate an MD5 hash on a missing kvasd binary
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4831 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
e83513f155
commit
d0004454f4
@ -20,7 +20,9 @@ endif (rc)
|
||||
file (READ "${kvasd_target}.md5" md5sum)
|
||||
string (REGEX MATCH "[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]" md5sum "${md5sum}")
|
||||
|
||||
file (MD5 "${kvasd_target}" current_md5sum)
|
||||
if (EXISTS "${kvasd_target}")
|
||||
file (MD5 "${kvasd_target}" current_md5sum)
|
||||
endif (EXISTS "${kvasd_target}")
|
||||
if (NOT "${md5sum}" STREQUAL "${current_md5sum}")
|
||||
message (STATUS "downloading file: ${kvasd_NAME}")
|
||||
file (
|
||||
|
Loading…
Reference in New Issue
Block a user