Use string comparison instead of numeric comparison when comparing digests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76594 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ted Kremenek 2009-07-21 17:41:55 +00:00
parent b34e3a9b6b
commit a2701b4e72

View File

@ -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;
}