Skip to content

Commit

Permalink
Builder|OS X|Fixed: Detecting OS X 10.9 (log filenames)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Nov 15, 2013
1 parent de7f9f0 commit 775efc3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions distrib/builder/utils.py
Expand Up @@ -79,12 +79,13 @@ def sys_id():

# Special case: the Snow Leopard builder targets 64-bit.
if plat == 'darwin':
if platform.mac_ver()[0][:4] == '10.8':
macVer = mac_os_version()
if macVer == '10.8' or macVer == '10.9':
plat = 'macx8'
bits = '64bit'
elif platform.mac_ver()[0][:4] == '10.6':
elif macVer == '10.6':
bits = '64bit'
elif platform.mac_ver()[0][:4] == '10.5':
elif macVer == '10.5':
plat = 'macx5'

return "%s-%s" % (plat, bits)
Expand Down

0 comments on commit 775efc3

Please sign in to comment.