Use string comparison instead of numeric comparison when comparing digests.

llvm-svn: 76594
This commit is contained in:
Ted Kremenek 2009-07-21 17:41:55 +00:00
parent 767e90ef30
commit 4f9b1d0327
1 changed files with 1 additions and 1 deletions

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