Ignore:
Timestamp:
2023-10-25T13:52:16+13:00 (6 months ago)
Author:
kjdon
Message:

the change to specific.os.type to switch between Lion and Mojave downloads of gnome-lib meant that on linux, it was looking for linux-Mojave version. fixed.

File:
1 edited

Legend:

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

    r37606 r38335  
    6666
    6767            <!-- For Lions, need a specific gnome-lib-minimal tar file. The file name contains darwin12 for Lion, it contains the os.shell name (darwin/linux) for other cases.
    68             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) -->
    69             <condition property="specific.os.type" value="${os.shell}-Lion" else="${os.shell}-Mojave">
    70                 <and>
    71                     <contains string="${os.shell}" substring="darwin" casesensitive="false"/>
    72                     <matches pattern="^(10\.7\.[4-9]|10\.[8-9]|1[1-9]|[2-9])" string="${os.version}"/>
    73                 </and>
    74             </condition>
    75 
     68                 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) -->
     69            <if>
     70              <bool>
     71                <contains string="${os.shell}" substring="darwin" casesensitive="false"/>
     72              </bool>
     73              <condition property="specific.os.type" value="${os.shell}-Lion" else="${os.shell}-Mojave">
     74                <matches pattern="^(10\.7\.[4-9]|10\.[8-9]|1[1-9]|[2-9])" string="${os.version}"/>
     75              </condition>
     76              <else>
     77                <!-- not a mac-->
     78                <property name="specific.os.type" value="${os.shell}"/>
     79              </else>
     80            </if>
    7681            <if><bool><or>
    7782                <equals arg1="${post.2.83.version}" arg2="true"/>
Note: See TracChangeset for help on using the changeset viewer.