Skip to content

Commit

Permalink
fix(macos): don't crash on undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dvarrazzo committed Jan 5, 2025
1 parent cee23d8 commit e2e51d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build/build_libpq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ case "$ID" in
# openssl no matter what so remove it. Since homebrew's curl depends on
# it, force use of system curl.
brew uninstall --force --ignore-dependencies openssl gettext curl
if [ -z "$MACOSX_ARCHITECTURE" ]; then
if [ -z "${MACOSX_ARCHITECTURE:-}" ]; then
MACOSX_ARCHITECTURE="$(uname -m)"
fi
# Set the deployment target to be <= to that of the oldest supported Python version.
Expand Down

0 comments on commit e2e51d7

Please sign in to comment.