diff --git a/utils/UpdateCMakeLists.pl b/utils/UpdateCMakeLists.pl index 94e69ce2556..3aa2f8891e2 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; }