Skip to content

Commit 5339b72

Browse files
authored
Fix make_cask.py
1 parent f769fe0 commit 5339b72

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/make_cask.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def main(argv=None):
121121
VERSION=sapMachineTag.get_version_string_without_build(),
122122
BUILD_NUMBER=sapMachineTag.get_build_number(),
123123
IMAGE_TYPE=args.imagetype,
124-
OS_NAME='osx' if sapMachineTag.get_major() < 17 or (sapMachineTag.get_major() == 17 and sapMachineTag.get_build_number() < 21) else 'macos',
124+
OS_NAME='osx' if sapMachineTag.get_major() < 17 or (sapMachineTag.get_major() == 17 and sapMachineTag.get_update() is None and sapMachineTag.get_build_number() < 21) else 'macos',
125125
SHA256=args.sha256sum
126126
)
127127
else:
@@ -130,7 +130,7 @@ def main(argv=None):
130130
VERSION=sapMachineTag.get_version_string_without_build(),
131131
BUILD_NUMBER=sapMachineTag.get_build_number(),
132132
IMAGE_TYPE=args.imagetype,
133-
OS_NAME='osx' if sapMachineTag.get_major() < 17 or (sapMachineTag.get_major() == 17 and sapMachineTag.get_build_number() < 21) else 'macos',
133+
OS_NAME='osx' if sapMachineTag.get_major() < 17 or (sapMachineTag.get_major() == 17 and sapMachineTag.get_update() is None and sapMachineTag.get_build_number() < 21) else 'macos',
134134
INTELSHA256=args.sha256sum,
135135
AARCHSHA256=args.aarchsha256sum
136136
)

0 commit comments

Comments
 (0)