mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-16 09:08:41 -05:00
[master] handle multi-word product names better
This commit is contained in:
parent
c548cbbf6b
commit
0ebd8d9ea3
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