repo-checker.pl: detect invalid package snippet and error out.
This commit is contained in:
parent
0785f2bcfb
commit
05af37f740
@ -60,6 +60,10 @@ sub write_package($$) {
|
||||
}
|
||||
|
||||
my $out = CreatePackageDescr::package_snippet($package);
|
||||
if ($out =~ m/=Pkg: /) {
|
||||
print STDERR "ERROR: empty package snippet for: $name\n";
|
||||
exit(1);
|
||||
}
|
||||
print PACKAGES $out;
|
||||
return $name;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user