Skip to content
Snippets Groups Projects
Commit 89abc77c authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

generate the file "debian-binary" if it is not present in the staging area

parent b017d309
No related branches found
No related tags found
No related merge requests found
...@@ -133,6 +133,12 @@ sub mk_package ...@@ -133,6 +133,12 @@ sub mk_package
# the ar file must contain these fils in this order and should be wiped before # the ar file must contain these fils in this order and should be wiped before
unlink($deb); unlink($deb);
unless (-f 'debian-binary')
{
open (FO, '>:utf8', 'debian-binary');
print FO "2.0\n";
close (FO);
}
cmd('ar', 'rcSv', $deb, 'debian-binary'); cmd('ar', 'rcSv', $deb, 'debian-binary');
cmd('ar', 'rcSv', $deb, $control_compressed); cmd('ar', 'rcSv', $deb, $control_compressed);
cmd('ar', 'rcSv', $deb, $data_compressed); cmd('ar', 'rcSv', $deb, $data_compressed);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment