]> Sergey Matveev's repositories - public-inbox.git/blobdiff - scripts/dupe-finder
config: support "inboxdir" in addition to "mainrepo"
[public-inbox.git] / scripts / dupe-finder
index 1e98093685a5d946b7ca5fd7322b5b2a4604845d..8060a9d7e7f10de3ee7a76b65a76f59713718a25 100644 (file)
@@ -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);