X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6ddc4b5e1b3a250cea96a596d5606b4094ae59d3..ac2d02c3e08c4c3d62859bffb4dd3bb891b3d5c6:/scripts/metadata.pm diff --git a/scripts/metadata.pm b/scripts/metadata.pm index fd18b18a2..a527d68f8 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;