From 775efc3ead87d820147a0f2b32c1d5310f7ef62d Mon Sep 17 00:00:00 2001 From: skyjake Date: Fri, 15 Nov 2013 09:19:26 +0200 Subject: [PATCH] Builder|OS X|Fixed: Detecting OS X 10.9 (log filenames) --- distrib/builder/utils.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/distrib/builder/utils.py b/distrib/builder/utils.py index effe54feae..1c6512e940 100644 --- a/distrib/builder/utils.py +++ b/distrib/builder/utils.py @@ -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)