Mercurial > hg > sonic-annotator
comparison deploy/osx/sign.sh @ 382:78af557445b2
Signing
author | Chris Cannam |
---|---|
date | Fri, 05 Jun 2020 16:53:23 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
381:3aeed28d584b | 382:78af557445b2 |
---|---|
1 #!/bin/bash | |
2 | |
3 set -e | |
4 | |
5 exe="$1" | |
6 | |
7 if [ ! -f "$exe" ] || [ -n "$2" ]; then | |
8 echo "Usage: $0 <executable>" | |
9 echo " e.g. $0 my-program" | |
10 exit 2 | |
11 fi | |
12 | |
13 set -u | |
14 | |
15 entitlements=deploy/osx/Entitlements.plist | |
16 | |
17 codesign -s "Developer ID Application: Chris Cannam" -fv --options runtime --entitlements "$entitlements" "$exe" | |
18 |