We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d9cd06 + e4f3e5c commit 5930bd8Copy full SHA for 5930bd8
openshift-install-powervs
@@ -1556,7 +1556,7 @@ function platform_checks {
1556
case "$PLATFORM" in
1557
"Darwin")
1558
OS_VERSION=$(sw_vers -productVersion 2>/dev/null || echo "")
1559
- 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
1560
error "Unsupported OS version ($OS_VERSION) for Mac"
1561
fi
1562
PACKAGE_MANAGER="brew"
0 commit comments