Fix get option in config.pl script
This commit is contained in:
parent
bcfa6f42e3
commit
c6f346b60c
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ for my $line (@config_lines) {
|
|||
$done = 1;
|
||||
}
|
||||
} elsif (!$done && $action eq "get") {
|
||||
if ($line =~ /^\s*#define\s*$name\s*(.*)\s*\b/) {
|
||||
if ($line =~ /^\s*#define\s*$name\s*([^\s]+)\s*\b/) {
|
||||
$value = $1;
|
||||
$done = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue