diff options
Diffstat (limited to 'dev-perl/Linux-Distribution/files/quotes-in-lsb-release.patch')
-rw-r--r-- | dev-perl/Linux-Distribution/files/quotes-in-lsb-release.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-perl/Linux-Distribution/files/quotes-in-lsb-release.patch b/dev-perl/Linux-Distribution/files/quotes-in-lsb-release.patch new file mode 100644 index 0000000..5ed6bf2 --- /dev/null +++ b/dev-perl/Linux-Distribution/files/quotes-in-lsb-release.patch @@ -0,0 +1,11 @@ +--- a/lib/Linux/Distribution.pm ++++ b/lib/Linux/Distribution.pm +@@ -138,7 +138,7 @@ + my $tmp = $self->{'release_file'};
+ if ( -r "$release_files_directory/" . $standard_release_file ) {
+ $self->{'release_file'} = $standard_release_file;
+- $self->{'pattern'} = $field . '=(.+)';
++ $self->{'pattern'} = $field . '=(?:")?([^"]+)(?:")?';
+ my $info = $self->_get_file_info();
+ if ($info){
+ $self->{$field} = $info;
|