Ignore:
Timestamp:
2009-08-03T11:49:27+12:00 (15 years ago)
Author:
oranfry
Message:

more generalisation, and wrok on mark3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/shared/core/ant-scripts/init.xml

    r20107 r20112  
    309309    <!-- copy the uninstaller script from the rk to web distribution -->
    310310    <target name="insert-uninstaller">
    311         <copy file="${rk.home}/core/uninstaller/Uninstall.${script-format}" todir="distributions/web" />
     311
     312        <!-- linux and mac -->
     313        <if><bool><or><equals arg1="${rk.os}" arg2="linux"/><equals arg1="${rk.os}" arg2="mac"/></or></bool>
     314            <copy file="${rk.home}/core/uninstaller/Uninstall.sh" todir="distributions/web"/>
     315
     316        <!-- windows -->
     317        <else><if><bool><equals arg1="${rk.os}" arg2="windows"/></bool>
     318            <copy file="${rk.home}/core/uninstaller/Uninstall.sh" todir="distributions/web"/>
     319
     320        <!-- else fail -->
     321        <else>
     322            <fail>this target does not support the current os</fail>
     323
     324        </else></if></else></if>
    312325    </target>
    313326
Note: See TracChangeset for help on using the changeset viewer.