diff options
author | Eric Wong <e@80x24.org> | 2015-01-11 23:13:08 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-01-11 23:13:08 +0000 |
commit | da9af2c78e69afa36f90e82dc6dd3a2a378944c7 (patch) | |
tree | 8f125afe16337c8706250be48fe62d1e2fa9257f /scripts/import_slrnspool | |
parent | 95ff0d818a8b3b52cf846fe93dcc12cefc2520c8 (diff) | |
download | public-inbox-da9af2c78e69afa36f90e82dc6dd3a2a378944c7.tar.gz |
Diffstat (limited to 'scripts/import_slrnspool')
-rwxr-xr-x | scripts/import_slrnspool | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/import_slrnspool b/scripts/import_slrnspool index b3a1b1d8..1f25eff2 100755 --- a/scripts/import_slrnspool +++ b/scripts/import_slrnspool @@ -20,7 +20,12 @@ defined $recipient or die usage(); my $config = PublicInbox::Config->new; my $cfg = $config->lookup($recipient); defined $cfg or exit(1); -my @mda = (qw(ssoma-mda -1), $cfg->{mainrepo}); +my @mda; +if ($ENV{'FILTER'}) { + @mda = qw(public-inbox-mda); +} else { + @mda = (qw(ssoma-mda -1), $cfg->{mainrepo}); +} sub get_min { my ($cfg) = @_; |