]> Sergey Matveev's repositories - public-inbox.git/blobdiff - scripts/dupe-finder
treewide: run update-copyrights from gnulib for 2019
[public-inbox.git] / scripts / dupe-finder
index 14022379b0fe5138b7a5fbc9775dd0aee2bb092f..6f873b6e56a5fb113f7e5f9e4df3f56962fbcdf1 100644 (file)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl -w
-# Copyright (C) 2018 all contributors <meta@public-inbox.org>
+# Copyright (C) 2018-2020 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 #
 # ad-hoc tool for finding duplicates, unstable!
@@ -14,7 +14,7 @@ my $ibx;
 if (index($repo, '@') > 0) {
        $ibx = PublicInbox::Config->new->lookup($repo);
 } elsif (-d $repo) {
-       $ibx = { mainrepo => $repo, address => 'unnamed@example.com' };
+       $ibx = { inboxdir => $repo, address => 'unnamed@example.com' };
        $ibx = PublicInbox::Inbox->new($ibx);
 } else {
        $ibx = PublicInbox::Config->new->lookup_name($repo);