mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-12 23:40:01 -04:00
[v9_9] handle multi-word product names better
(cherry picked from commit 0ebd8d9ea3)
This commit is contained in:
parent
1a0a04f563
commit
582eff2d4b
1 changed files with 6 additions and 1 deletions
|
|
@ -47,7 +47,12 @@ while (<VERSIONFILE>) {
|
|||
if($data) {
|
||||
($name, $value) = split(/=/,$data);
|
||||
($name) = split(/\s+/, $name);
|
||||
($value) = split(/\s+/, $value);
|
||||
if ($name eq 'PRODUCT') {
|
||||
($value) =~ s/^["\s]+//;
|
||||
($value) =~ s/["\s]+$//;
|
||||
} else {
|
||||
($value) = split(/\s+/, $value);
|
||||
}
|
||||
$Versions{$name} = $value;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue