Skip to content

Commit

Permalink
Fix elif on bash for installing Python on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcd committed Sep 27, 2023
1 parent 907f66d commit 5cee4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/scripts/install_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if [ $platform = "MacOSX" ]; then

if [ "$(uname -m)" = "arm64" ] || [ "$version" = "3.10" ] || [ "$version" = "3.11" ]; then
fname="python-${full_version}-macos11.pkg"
else if [ "$version" = "3.12" ]; then
elif [ "$version" = "3.12" ]; then
fname="python-3.12.0rc3-macos11.pkg"
else
fname="python-${full_version}-macosx10.9.pkg"
Expand Down

0 comments on commit 5cee4a8

Please sign in to comment.