diff options
author | Andrew Chow <achow101-github@achow101.com> | 2022-03-09 09:09:40 -0500 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-03-09 18:06:18 +0000 |
commit | 1fd91da45438a803e5dc968bb976fb0fc79f4a72 (patch) | |
tree | 2f67eabb19b7099894841b780e64e78bc8c4eecd /contrib | |
parent | eba46583eda59df1dde72b331f45e340818fa34c (diff) |
build, mac: Include arch in codesignature tarball
Github-Pull: #24506
Rebased-From: 0189df1d3171082caf743ef3b0968f43c71303f5
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/macdeploy/detached-sig-create.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/macdeploy/detached-sig-create.sh b/contrib/macdeploy/detached-sig-create.sh index 0d61ceb9df..f393331084 100755 --- a/contrib/macdeploy/detached-sig-create.sh +++ b/contrib/macdeploy/detached-sig-create.sh @@ -8,9 +8,11 @@ set -e ROOTDIR=dist BUNDLE="${ROOTDIR}/Bitcoin-Qt.app" +BINARY="${BUNDLE}/Contents/MacOS/Bitcoin-Qt" SIGNAPPLE=signapple TEMPDIR=sign.temp -OUT=signature-osx.tar.gz +ARCH=$(${SIGNAPPLE} info ${BINARY} | head -n 1 | cut -d " " -f 1) +OUT="signature-osx-${ARCH}.tar.gz" OUTROOT=osx/dist if [ -z "$1" ]; then |