mirror of https://github.com/digint/btrbk
btrbk: allow quotes for all config values
Regression of:
9d217857
btrbk: fix parsing of quoted "target" config line
pull/511/merge
parent
f107507876
commit
335e19e238
2
btrbk
2
btrbk
|
@ -4258,6 +4258,8 @@ sub parse_config_line($$$;@)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
$value =~ s/^"(.*)"$/$1/;
|
||||||
|
$value =~ s/^'(.*)'$/$1/;
|
||||||
return append_config_option($cur, $key, $value, $cur->{CONTEXT}, error_statement => $error_statement);
|
return append_config_option($cur, $key, $value, $cur->{CONTEXT}, error_statement => $error_statement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue