From 620e57852b9d9ffc8ea071e0c89231ba23259a76 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 19 Mar 2022 22:38:17 -0700 Subject: notmuch-slurp-debbug: support tilde expansion in config file Signed-off-by: Sean Whitton --- notmuch-slurp-debbug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'notmuch-slurp-debbug') 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`); -- cgit v1.2.3