Scripts: Fallback to ad-hoc signing in codesign-mac-app.sh
This commit is contained in:
@@ -57,8 +57,8 @@ select_identity() {
|
|||||||
|
|
||||||
if [ -z "$IDENTITY" ]; then
|
if [ -z "$IDENTITY" ]; then
|
||||||
if ! IDENTITY="$(select_identity)"; then
|
if ! IDENTITY="$(select_identity)"; then
|
||||||
echo "ERROR: No signing identity found. Set SIGN_IDENTITY to a valid codesigning certificate." >&2
|
echo "WARN: No signing identity found. Falling back to ad-hoc signing (-)." >&2
|
||||||
exit 1
|
IDENTITY="-"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user