X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=scripts%2Fimport_slrnspool;h=d9a35dfdfa86b817018540bf3450ffbbbf289f94;hb=d0bc58517c97c8982fdf42533297d96be9efb484;hp=bdcc605c245434bc5ca6c47524d09ce6aef45147;hpb=cfeee9edb97360a5dc328a72b93d5daf18888a41;p=public-inbox.git diff --git a/scripts/import_slrnspool b/scripts/import_slrnspool index bdcc605c..d9a35dfd 100755 --- a/scripts/import_slrnspool +++ b/scripts/import_slrnspool @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -# Copyright (C) 2015-2020 all contributors +# Copyright (C) 2015-2021 all contributors # License: AGPL-3.0+ # # Incremental (or one-shot) importer of a slrnpull news spool @@ -22,8 +22,8 @@ $SIG{TERM} = $sighandler; my $spool = shift @ARGV or die usage(); my $recipient = $ENV{ORIGINAL_RECIPIENT}; defined $recipient or die usage(); -my $config = PublicInbox::Config->new; -my $ibx = $config->lookup($recipient); +my $cfg = PublicInbox::Config->new; +my $ibx = $cfg->lookup($recipient); my $git = $ibx->git; my $im; if ($ibx->version == 2) {