This repository has been archived by the owner. It is now read-only.
Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 197 Bytes
#!/bin/bash
set -x
set -e
if ! [ -n "$SIGN" ]; then
echo "No SIGN environment var. Skipping codesign." >&2
exit 0
fi
productsign --sign "$SIGN" "$PKG" "$PKG"-SIGNED
mv "$PKG"-SIGNED "$PKG"