aboutsummaryrefslogtreecommitdiffstats
path: root/utils/UpdateCMakeLists.pl
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-07-21 17:41:55 +0000
committerTed Kremenek <kremenek@apple.com>2009-07-21 17:41:55 +0000
commit5a839b479c255256d5129948d693573607eccdb3 (patch)
tree61ee31832f3525b5a4a8df253cce403cde685ae3 /utils/UpdateCMakeLists.pl
parent8b91d2dd81c88aaa1ac5d72b68a0889412f973cc (diff)
downloadexternal_llvm-5a839b479c255256d5129948d693573607eccdb3.zip
external_llvm-5a839b479c255256d5129948d693573607eccdb3.tar.gz
external_llvm-5a839b479c255256d5129948d693573607eccdb3.tar.bz2
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-xutils/UpdateCMakeLists.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/UpdateCMakeLists.pl b/utils/UpdateCMakeLists.pl
index 94e69ce..3aa2f88 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;
}