Skip to content

Commit

Permalink
Fixed build script check for CODE_SIGN_IDENTITY environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelsundell committed Jan 2, 2024
1 parent eee7823 commit 5863821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if [ "$sign_code" == "ON" ]; then
read -p "Enter Code Sign Identity [$default_code_sign_identity]: " input_code_sign_identity
code_sign_identity=${input_code_sign_identity:-$default_code_sign_identity}

if [[ ! "$input_code_sign_identity" == *"Developer ID"* ]]; then
if [[ ! "$code_sign_identity" == *"Developer ID"* ]]; then
echo "Code Sign identity must contain 'Developer ID' to be a valid developer certificate."
exit 1
fi
Expand Down

0 comments on commit 5863821

Please sign in to comment.