mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-03 19:51:32 +02:00
contrib: macdeploy: fix permissions typo in gen-sdk script
This commit is contained in:
parent
be7a5f2fc4
commit
51d06df874
@ -58,7 +58,7 @@ previous stage) as the first argument.
|
|||||||
./contrib/macdeploy/gen-sdk '/path/to/Xcode.app'
|
./contrib/macdeploy/gen-sdk '/path/to/Xcode.app'
|
||||||
```
|
```
|
||||||
|
|
||||||
The `sha256sum` of the generated TAR.GZ archive should be `e7ca56bc8804d16624fad68be2e71647747d6629cacaaa3de5fbfa7f444e9eae`.
|
The `sha256sum` of the generated TAR.GZ archive should be `df75d30ecafc429e905134333aeae56ac65fac67cb4182622398fd717df77619`.
|
||||||
|
|
||||||
## Deterministic macOS DMG Notes
|
## Deterministic macOS DMG Notes
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ def run():
|
|||||||
tarinfo.uid, tarinfo.uname = 0, ''
|
tarinfo.uid, tarinfo.uname = 0, ''
|
||||||
tarinfo.gid, tarinfo.gname = 0, ''
|
tarinfo.gid, tarinfo.gname = 0, ''
|
||||||
# don't use isdir() as there are also executable files present
|
# 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
|
return tarinfo
|
||||||
with cd(dir_to_add):
|
with cd(dir_to_add):
|
||||||
# recursion already adds entries in sorted order
|
# recursion already adds entries in sorted order
|
||||||
|
Loading…
x
Reference in New Issue
Block a user