summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog4
-rwxr-xr-xnotmuch-slurp-debbug2
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index bc91bd5..92010dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,7 +10,9 @@ mailscripts (0.24-1) unstable; urgency=medium
- Support commenting out subscriptions.
- Cope with XML feeds sent with text/gemini MIME type.
* notmuch-extract-patch(1): add link to the piem project.
- * notmuch-slurp-debbug: exit immediately if Mail::Box::Manager::open fails.
+ * notmuch-slurp-debbug:
+ - Exit immediately if Mail::Box::Manager::open fails.
+ - Support tilde expansion in 'maildir' configuration key.
-- Sean Whitton <spwhitton@spwhitton.name> Fri, 07 Jan 2022 14:48:01 -0700
diff --git a/notmuch-slurp-debbug b/notmuch-slurp-debbug
index 0130470..f5ae3fc 100755
--- a/notmuch-slurp-debbug
+++ b/notmuch-slurp-debbug
@@ -43,7 +43,7 @@ my $maildir;
my $conf_r = $ENV{XDG_CONFIG_HOME} || catfile $ENV{HOME}, ".config";
my $conf_f = catfile $conf_r, "mailscripts", "notmuch-slurp-debbug";
if (-f $conf_f) {
- $maildir = Config::Tiny->new->read($conf_f)->{_}->{maildir};
+ $maildir = glob Config::Tiny->new->read($conf_f)->{_}->{maildir};
} else {
# default to where a lot of people have their inbox
chomp(my $database_path = `notmuch config get database.path`);