summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/metadata.pm1
1 files changed, 1 insertions, 0 deletions
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;