aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2022-03-09 09:09:40 -0500
committerfanquake <fanquake@gmail.com>2022-03-09 18:06:18 +0000
commit1fd91da45438a803e5dc968bb976fb0fc79f4a72 (patch)
tree2f67eabb19b7099894841b780e64e78bc8c4eecd /contrib
parenteba46583eda59df1dde72b331f45e340818fa34c (diff)
downloadbitcoin-1fd91da45438a803e5dc968bb976fb0fc79f4a72.tar.xz
build, mac: Include arch in codesignature tarball
Github-Pull: #24506 Rebased-From: 0189df1d3171082caf743ef3b0968f43c71303f5
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/macdeploy/detached-sig-create.sh4
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