Skip to content

Commit

Permalink
Merge pull request #14 from Grimler91/control_fix
Browse files Browse the repository at this point in the history
Create ./control instead of control in tar
  • Loading branch information
fornwall authored Oct 29, 2018
2 parents e71e261 + 102c709 commit 44a9e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion termux-create-package
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def write_control_tar(tar_path, manifest):
file_size = control_file.tell()
control_file.seek(0)

info = tarfile.TarInfo(name="control")
info = tarfile.TarInfo(name="./control")
info.size = file_size
with tarfile.open(tar_path, mode='w:xz') as control_tarfile:
control_tarfile.addfile(tarinfo=info, fileobj=control_file)
Expand Down

0 comments on commit 44a9e89

Please sign in to comment.