forked from OSchip/llvm-project
Use string comparison instead of numeric comparison when comparing digests.
llvm-svn: 76594
This commit is contained in:
parent
767e90ef30
commit
4f9b1d0327
|
@ -96,7 +96,7 @@ sub UpdateCMake {
|
|||
my $digestB = Digest::MD5->new->addfile(*FILE)->hexdigest;
|
||||
close(FILE);
|
||||
|
||||
if ($digestA != $digestB) {
|
||||
if ($digestA ne $digestB) {
|
||||
move($cmakeListNew, $cmakeList);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue