diff options
author | Eric Wong <e@80x24.org> | 2021-05-21 10:28:28 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-05-23 01:33:04 +0000 |
commit | 55bed484ed5436b075c069ae9e42fb45890ad7e9 (patch) | |
tree | defecd9e58f9c0b241163f55ce8d66f5f4bd82fa /lib | |
parent | dc890423db7c63c07ab248309accb429df405576 (diff) | |
download | public-inbox-55bed484ed5436b075c069ae9e42fb45890ad7e9.tar.gz |
This is needed for the upcoming "lei export-kw"
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/LeiInput.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiInput.pm b/lib/PublicInbox/LeiInput.pm index cfdd3628..4ff7a379 100644 --- a/lib/PublicInbox/LeiInput.pm +++ b/lib/PublicInbox/LeiInput.pm @@ -250,7 +250,8 @@ sub prepare_inputs { # returns undef on error require PublicInbox::MdirReader; $ifmt eq 'maildir' or return $lei->fail("$ifmt not supported"); - $input = $lei->abs_path($input) if $sync; + $sync and $input = 'maildir:'. + $lei->abs_path($input_path); } else { return $lei->fail("Unable to handle $input"); } |