diff options
author | Eric Wong <e@80x24.org> | 2021-04-16 16:10:28 -0700 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-04-16 22:24:47 -0400 |
commit | bc7f9e3322a36b7aa42b273fd82d1c1da7b69b00 (patch) | |
tree | 2cd34e58c2fce36f41936db7b7fc2fe4731954d2 /lib/PublicInbox/LeiSavedSearch.pm | |
parent | 2e4e4b0d6f30d9d4612066395ba694c7c7d61e6e (diff) | |
download | public-inbox-bc7f9e3322a36b7aa42b273fd82d1c1da7b69b00.tar.gz |
Since saved-searches aren't a part of lei/store, nor could it be considered cache data... (or can it? it is discardable, after all).
Diffstat (limited to 'lib/PublicInbox/LeiSavedSearch.pm')
-rw-r--r-- | lib/PublicInbox/LeiSavedSearch.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiSavedSearch.pm b/lib/PublicInbox/LeiSavedSearch.pm index e79cf76a..fe8301d6 100644 --- a/lib/PublicInbox/LeiSavedSearch.pm +++ b/lib/PublicInbox/LeiSavedSearch.pm @@ -23,7 +23,7 @@ sub new { return $lei->fail("$f non-existent or unreadable"); $self->{-cfg} = PublicInbox::Config::git_config_dump($f); } else { # new saved search "lei q --save" - my $saved_dir = $lei->store_path . '/../saved-searches/'; + my $saved_dir = $lei->share_path . '/saved-searches/'; my (@name) = ($lei->{ovv}->{dst} =~ m{([\w\-\.]+)/*\z}); my $q = $lei->{mset_opt}->{q_raw} // die 'BUG: {q_raw} missing'; my $q_raw_str = ref($q) ? "@$q" : $q; |