From 30bf4d7a2a8c1cf933ce8c6187559518423a123a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 25 May 2021 11:01:34 +0000 Subject: 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. --- lib/PublicInbox/LeiExportKw.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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) { -- cgit v1.2.3-24-ge0c7