Mercurial > hg > sonic-annotator
view deploy/osx/sign.sh @ 397:a82030ec7b1f sonic-annotator-1.6
Update archive script for Repoint
author | Chris Cannam |
---|---|
date | Tue, 09 Jun 2020 17:32:59 +0100 |
parents | 78af557445b2 |
children |
line wrap: on
line source
#!/bin/bash set -e exe="$1" if [ ! -f "$exe" ] || [ -n "$2" ]; then echo "Usage: $0 <executable>" echo " e.g. $0 my-program" exit 2 fi set -u entitlements=deploy/osx/Entitlements.plist codesign -s "Developer ID Application: Chris Cannam" -fv --options runtime --entitlements "$entitlements" "$exe"