diff options
author | Eric Wong <e@80x24.org> | 2023-03-21 23:07:19 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-03-25 09:37:43 +0000 |
commit | 4f7ee209e1e840d8ae3af24eab886d42edb55d91 (patch) | |
tree | 2f6b8f7b424cd101ff075161c8b52e616df19ee1 /script | |
parent | 4873f1e033b5fb1260a3cb9c857c79dce2780983 (diff) | |
download | public-inbox-4f7ee209e1e840d8ae3af24eab886d42edb55d91.tar.gz |
We'll also support the $base arg of File::Spec->rel2abs since it should make codesearch indexing easier.
Diffstat (limited to 'script')
-rwxr-xr-x | script/public-inbox-convert | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-convert b/script/public-inbox-convert index 42955a48..5f4f2020 100755 --- a/script/public-inbox-convert +++ b/script/public-inbox-convert @@ -75,7 +75,7 @@ if ($opt->{'index'}) { } local %ENV = (%$env, %ENV) if $env; my $new = { %$old }; -$new->{inboxdir} = $cfg->rel2abs_collapsed($new_dir); +$new->{inboxdir} = PublicInbox::Config::rel2abs_collapsed($new_dir); $new->{version} = 2; $new = PublicInbox::InboxWritable->new($new, { nproc => $opt->{jobs} }); $new->{-no_fsync} = 1 if !$opt->{fsync}; |