mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 13:56:42 +01:00
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;
|
$done = 1;
|
||||||
}
|
}
|
||||||
} elsif (!$done && $action eq "get") {
|
} 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;
|
$value = $1;
|
||||||
$done = 1;
|
$done = 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue