<< Back to previous view

[QB-1858] Due to wrong os version detection on mac os x 10.9 (maverick), the wrapper is always started with 32 bit
Created: 25/Nov/13  Updated: 14/Dec/13

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 5.1.0
Fix Version/s: 5.1.1, 5.1.3

Type: Bug Priority: Major
Reporter: AlSt Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Mac OS X 10.9


 Description   
{code}
# Resolve the architecture
if [ "$DIST_OS" = "macosx" ]
then
    OS_VER=`sw_vers | grep 'ProductVersion:' | grep -o '[0-9]*\.[0-9]*\.[0-9]*'`
    DIST_ARCH="universal"
    if [[ "$OS_VER" < "10.5.0" ]]
    then
        DIST_BITS="32"
    else
{code}

On Mac OS X 10.8 it reports:
{code}
minimac08:~ labuser$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.8.4
BuildVersion: 12E55
{code}

However, on Mac OS X 10.9 the version only consists of major and minor number:
{code}
minimac09:~ labuser$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.9
BuildVersion: 13A603
{code}
Generated at Tue May 21 03:29:23 UTC 2024 using JIRA 189.