mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-02 16:01:58 +02:00
-BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT- Commits of previous years: * 2020: fa0074e2d82928016a43ca408717154a1c70a4db * 2019: aaaaad6ac95b402fe18d019d67897ced6b316ee0
28 lines
579 B
Bash
Executable File
28 lines
579 B
Bash
Executable File
#!/bin/sh
|
|
# Copyright (c) 2014-2021 The Bitcoin Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
export LC_ALL=C
|
|
set -e
|
|
|
|
UNSIGNED="$1"
|
|
SIGNATURE="$2"
|
|
ROOTDIR=dist
|
|
OUTDIR=signed-app
|
|
SIGNAPPLE=signapple
|
|
|
|
if [ -z "$UNSIGNED" ]; then
|
|
echo "usage: $0 <unsigned app> <signature>"
|
|
exit 1
|
|
fi
|
|
|
|
if [ -z "$SIGNATURE" ]; then
|
|
echo "usage: $0 <unsigned app> <signature>"
|
|
exit 1
|
|
fi
|
|
|
|
${SIGNAPPLE} apply "${UNSIGNED}" "${SIGNATURE}"
|
|
mv ${ROOTDIR} ${OUTDIR}
|
|
echo "Signed: ${OUTDIR}"
|