Utilities/Release: Enforce macOS signing script arguments later

Make room for alternative sources of information.
This commit is contained in:
Brad King committed 2025-12-16 17:53:42 -05:00
1 parent 61b40cf569
commit b513b8e180
1 file changed
+5 -5
+5 -5
View File
@@ -59,16 +59,16 @@ case "$1" in
esac
test "$#" = 0 || die "$usage"
# Verify arguments.
if test -z "$id" -o -z "$keychain_profile"; then
die "$usage"
fi
# Verify environment.
if ! xcrun --find notarytool 2>/dev/null; then
die "'xcrun notarytool' not found"
fi
# Verify arguments.
if test -z "$id" -o -z "$keychain_profile"; then
die "$usage"
fi
readonly tmpdir="$(mktemp -d)"
# Prepare entitlements.