diff options
author | Eric Wong <e@80x24.org> | 2021-05-25 11:01:34 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-05-25 18:42:07 +0000 |
commit | 30bf4d7a2a8c1cf933ce8c6187559518423a123a (patch) | |
tree | 6d75c0a8204dac751b33094a3fce2da62de20799 /lib | |
parent | d21d8cae7f075d427f1b7dc2e8b40d42f488d2d4 (diff) | |
download | public-inbox-30bf4d7a2a8c1cf933ce8c6187559518423a123a.tar.gz |
lei export-kw: use lei->abs_path instead of rel2abs
This is to match LeiInput behavior when mail-sync is enabled, since rel2abs won't resolve symlinks.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/LeiExportKw.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiExportKw.pm b/lib/PublicInbox/LeiExportKw.pm index d8ba8fd5..fabc01f8 100644 --- a/lib/PublicInbox/LeiExportKw.pm +++ b/lib/PublicInbox/LeiExportKw.pm @@ -130,7 +130,7 @@ EOM for (@folders) { next if $all{$_}; # ok if (-d "$_/new" && -d "$_/cur") { - my $d = 'maildir:'.$lei->rel2abs($_); + my $d = 'maildir:'.$lei->abs_path($_); push(@no, $_) unless $all{$d}; $_ = $d; } elsif (m!\Aimaps?://!i) { |