Ignore:
Timestamp:
2010-01-25T11:02:45+13:00 (12 years ago)
Author:
oranfry
Message:

fixes to rk2 for linux and mac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/kits/rk2/ant-scripts/wrap.xml

    r21394 r21593  
    9898            </exec>
    9999
     100            <!-- figure out jar size (web jar) -->
     101            <exec executable="ls" dir="wrapped-installer" outputproperty="greenstone2.jar.ls"><arg line="-l greenstone2.jar"/></exec>
     102            <exec executable="sed" inputstring="${greenstone2.jar.ls}" outputproperty="greenstone2.jar.size"><arg line="-e 's/^[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *\([0-9]*\).*$/\1/g'"/></exec>
     103
     104            <!-- figure out java size -->
     105            <exec executable="ls" dir="wrapped-installer" outputproperty="java.ls"><arg line="-l ${linux-java.installer}"/></exec>
     106            <exec executable="sed" inputstring="${java.ls}" outputproperty="java.size"><arg line="-e 's/^[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *\([0-9]*\).*$/\1/g'"/></exec>
     107
    100108            <!-- creating wrapper header file -->
    101109            <delete file="wrapper.h"/>
Note: See TracChangeset for help on using the changeset viewer.