Ignore:
Timestamp:
2013-10-22T20:02:42+13:00 (10 years ago)
Author:
ak19
Message:

Needed to add an additional test to ensure that the -Lion suffix for the binary file generated is only on Macs (darwin) and not on other machines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/kits/rk3/ant-scripts/compile.xml

    r28301 r28512  
    5353            Mac OS X v10.7.4 onwards is Lion/Mountain Lion, different from Leopard/Snow Leopard. See http://en.wikipedia.org/wiki/Darwin_(operating_system) -->
    5454            <condition property="specific.os.type" value="${os.shell}-Lion" else="${os.shell}">
    55                 <matches pattern="^(10\.7\.[4-9]|10\.[8-9]|1[1-9]|[2-9])" string="${os.version}"/>
     55                <and>
     56                    <contains string="${os.shell}" substring="darwin" casesensitive="false"/>
     57                    <matches pattern="^(10\.7\.[4-9]|10\.[8-9]|1[1-9]|[2-9])" string="${os.version}"/>
     58                </and>
    5659            </condition>
    5760
Note: See TracChangeset for help on using the changeset viewer.