contrib: macdeploy: fix permissions typo in gen-sdk script

This commit is contained in:
Pavol Rusnak
2022-04-22 22:01:28 +02:00
parent be7a5f2fc4
commit 51d06df874
2 changed files with 2 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ def run():
tarinfo.uid, tarinfo.uname = 0, ''
tarinfo.gid, tarinfo.gname = 0, ''
# don't use isdir() as there are also executable files present
tarinfo.mode = 0o0755 if tarinfo.mode & 0o0100 else 0x0644
tarinfo.mode = 0o0755 if tarinfo.mode & 0o0100 else 0o0644
return tarinfo
with cd(dir_to_add):
# recursion already adds entries in sorted order