Skip to content

Commit 5930bd8

Browse files
author
Power Cloud Robot
authored
Merge pull request #225 from yussufsh/devel
Support all future macos releases
2 parents 9d9cd06 + e4f3e5c commit 5930bd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openshift-install-powervs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1556,7 +1556,7 @@ function platform_checks {
15561556
case "$PLATFORM" in
15571557
"Darwin")
15581558
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
1559+
if [[ $IGNORE_OS -eq 0 ]] && [[ $(echo "$OS_VERSION" | cut -d'.' -f1) -lt 10 ]]; then
15601560
error "Unsupported OS version ($OS_VERSION) for Mac"
15611561
fi
15621562
PACKAGE_MANAGER="brew"

0 commit comments

Comments
 (0)