mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 04:39:44 +00:00
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:
parent
b34e3a9b6b
commit
a2701b4e72
@ -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
Block a user