send-email: expand path in sendemail.smtpsslcertpath config

As it says in the name, the SSL certificate path is a path so treat it
as one and support tilde-expansion.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Jeff King <peff@peff.net>
This commit is contained in:
John Keeping 2015-11-17 22:01:05 +00:00 committed by Jeff King
parent 0c83680e9c
commit 6e07a3b51b

View File

@ -239,7 +239,6 @@ my %config_settings = (
"smtpserveroption" => \@smtp_server_options, "smtpserveroption" => \@smtp_server_options,
"smtpuser" => \$smtp_authuser, "smtpuser" => \$smtp_authuser,
"smtppass" => \$smtp_authpass, "smtppass" => \$smtp_authpass,
"smtpsslcertpath" => \$smtp_ssl_cert_path,
"smtpdomain" => \$smtp_domain, "smtpdomain" => \$smtp_domain,
"smtpauth" => \$smtp_auth, "smtpauth" => \$smtp_auth,
"to" => \@initial_to, "to" => \@initial_to,
@ -259,6 +258,7 @@ my %config_settings = (
my %config_path_settings = ( my %config_path_settings = (
"aliasesfile" => \@alias_files, "aliasesfile" => \@alias_files,
"smtpsslcertpath" => \$smtp_ssl_cert_path,
); );
# Handle Uncouth Termination # Handle Uncouth Termination