Skip to content

Commit

Permalink
Support all future macos releases
Browse files Browse the repository at this point in the history
Fixes ocp-power-automation#224

Signed-off-by: Yussuf Shaikh <[email protected]>
  • Loading branch information
yussufsh committed Nov 7, 2023
1 parent bcb3fda commit e4f3e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openshift-install-powervs
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,7 @@ function platform_checks {
case "$PLATFORM" in
"Darwin")
OS_VERSION=$(sw_vers -productVersion 2>/dev/null || echo "")
if [[ $IGNORE_OS -eq 0 ]] && [[ $OS_VERSION != "10.15"* && $OS_VERSION != "11."* && $OS_VERSION != "12."* && $OS_VERSION != "13."* ]]; then
if [[ $IGNORE_OS -eq 0 ]] && [[ $(echo "$OS_VERSION" | cut -d'.' -f1) -lt 10 ]]; then
error "Unsupported OS version ($OS_VERSION) for Mac"
fi
PACKAGE_MANAGER="brew"
Expand Down

0 comments on commit e4f3e5c

Please sign in to comment.