config variables should not be restricted to double quoted strings
previously, these two would produce different results config aa.bb = 'true' # config file line includes single quotes config aa.bb = "true" # config file line does not include any quotes Now the former will also behave like the latter.
This commit is contained in:
parent
2eee4d627a
commit
d01f6b1dbb
|
@ -439,7 +439,7 @@ sub setup_git_configs
|
|||
my $rc = $rch{$seq};
|
||||
while ( my ($key, $value) = each(%{ $rc }) ) {
|
||||
if ($value ne "") {
|
||||
$value =~ s/^"(.*)"$/$1/;
|
||||
$value =~ s/^['"](.*)["']$/$1/;
|
||||
system("git", "config", $key, $value);
|
||||
} else {
|
||||
system("git", "config", "--unset-all", $key);
|
||||
|
|
Loading…
Reference in a new issue