diff --git a/scripts/metadata.pm b/scripts/metadata.pm index fd18b18a29c039315f492cb938d392777f553071..a527d68f8f4254044f01c3911c2be605211ccafc 100644 --- a/scripts/metadata.pm +++ b/scripts/metadata.pm @@ -54,6 +54,7 @@ sub parse_package_metadata($) { $srcpackage{$src} = []; undef $pkg; }; + next unless $src; /^Package:\s*(.+?)\s*$/ and do { $pkg = {}; $pkg->{src} = $src;