Skip to content

Commit

Permalink
dpkg can't read a control file that ends with a blank tag. This fixes…
Browse files Browse the repository at this point in the history
… that case.
  • Loading branch information
lbt committed Sep 15, 2009
1 parent e2b5cfe commit 45158f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkbaselibs
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ sub handle_debs {
$control{"Package"} = "${d_name}-${targettype}";

$controlParser->write_file("${baseTarget}/DEBIAN/control", \%control,
{clobberFile => 1} );
{clobberFile => 1, addNewline=>1 } );
system "dpkg -b ${baseTarget} /usr/src/packages/DEBS/${d_name}-${targettype}_${d_version}_${targetarch}.deb" || die "dpkg -b failed on $deb";
system "rm -rf ${baseTarget}";
}
Expand Down

0 comments on commit 45158f5

Please sign in to comment.