X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bin%2Fdebbugs-loadsql;h=ab1dd830c69aafb30e5a58ebc56c35259a305902;hb=b1188c6a03afb4e5b7fa24dd055677fa9391d17c;hp=250c23af555ade125231feab24f4e1ea0dd3b98c;hpb=109e6613ae340742f7f42966eba75c15e7dddb94;p=debbugs.git diff --git a/bin/debbugs-loadsql b/bin/debbugs-loadsql index 250c23a..ab1dd83 100755 --- a/bin/debbugs-loadsql +++ b/bin/debbugs-loadsql @@ -409,6 +409,10 @@ sub add_debinfo { ($srcname,$srcver) = ($binarch,$srcname); ($binarch) = $file =~ /_([^\.]+)\.debinfo/; } + if (not defined $srcver) { + print STDERR "malformed debinfo (no srcver): $file\n"; + next; + } push @debinfos, [$binname,$binver,$binarch,$srcname,$srcver,$ct_date]; }