diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-07-21 17:41:55 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-07-21 17:41:55 +0000 |
commit | a2701b4e721b28e366b3a79bdd53199043bf90dc (patch) | |
tree | 61ee31832f3525b5a4a8df253cce403cde685ae3 /utils/UpdateCMakeLists.pl | |
parent | b34e3a9b6be179190da4f469f2d563ab1d29f73d (diff) |
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
Diffstat (limited to 'utils/UpdateCMakeLists.pl')
-rwxr-xr-x | utils/UpdateCMakeLists.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/UpdateCMakeLists.pl b/utils/UpdateCMakeLists.pl index 94e69ce255..3aa2f8891e 100755 --- a/utils/UpdateCMakeLists.pl +++ b/utils/UpdateCMakeLists.pl @@ -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; } |