aboutsummaryrefslogtreecommitdiff
path: root/contrib/macdeploy
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2022-04-22 22:01:28 +0200
committerPavol Rusnak <pavol@rusnak.io>2022-04-22 22:09:44 +0200
commit51d06df8746828ffac39ac94f9efa3332b3f0556 (patch)
treed14f98b15f8fbfb305bae8cbe4a14ccdad31f174 /contrib/macdeploy
parentbe7a5f2fc400e7a3ef72dedbdcf49dd6c96d4f9e (diff)
downloadbitcoin-51d06df8746828ffac39ac94f9efa3332b3f0556.tar.xz
contrib: macdeploy: fix permissions typo in gen-sdk script
Diffstat (limited to 'contrib/macdeploy')
-rw-r--r--contrib/macdeploy/README.md2
-rwxr-xr-xcontrib/macdeploy/gen-sdk2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/macdeploy/README.md b/contrib/macdeploy/README.md
index fa7d953ce3..64e36f22b9 100644
--- a/contrib/macdeploy/README.md
+++ b/contrib/macdeploy/README.md
@@ -58,7 +58,7 @@ previous stage) as the first argument.
./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
diff --git a/contrib/macdeploy/gen-sdk b/contrib/macdeploy/gen-sdk
index d70cc8613c..6efaaccb8e 100755
--- a/contrib/macdeploy/gen-sdk
+++ b/contrib/macdeploy/gen-sdk
@@ -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