Skip to content

Commit

Permalink
Add brackets for if statements
Browse files Browse the repository at this point in the history
Co-authored-by: Christian Hoffmann <christian@hoffie.info>
  • Loading branch information
ann0see and hoffie committed Oct 29, 2022
1 parent 5d7a39a commit 8e850c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/autobuild/mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ prepare_signing() {
[[ -n "${KEYCHAIN_PASSWORD:-}" ]] || return 1

# Check for notarization (not wanted on self signed build)
if [ -z "${NOTARIZATION_PASSWORD}" ]; then
if [[ -z "${NOTARIZATION_PASSWORD}" ]]; then
echo "Notarization password not found or empty. This suggests we might run a self signed build."
if [ -z "${MACOS_CA_PUBLICKEY}" ]; then
if [[ -z "${MACOS_CA_PUBLICKEY}" ]]; then
echo "Warning: The CA public key wasn't set or is empty. Skipping signing."
return 1
fi
Expand Down

0 comments on commit 8e850c4

Please sign in to comment.