Changeset 18002 for release-kits/mark2


Ignore:
Timestamp:
2008-12-02T14:16:38+13:00 (15 years ago)
Author:
oranfry
Message:

the improved way of creating the source component, this time for mac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/mark2/ant-scripts/create-components.xml

    r17981 r18002  
    8585               
    8686        <mkdir dir="products"/>
    87         <exec dir="components/tmp/sourcecode" executable="bash">
    88             <arg line="-c tar -czf ../../products/Greenstone-${version}-${os.suffix}-sourcecode-component.tar.gz *"/>
     87
     88        <!-- create a script to create the tar -->
     89        <echo output="create-sourcecode-component.sh">
     90        tar -czf ../../../products/Greenstone-${version}-${os.suffix}-sourcecode-component.tar.gz *
     91        </echo>
     92        <chmod perm="+x" file="create-sourcecode-component.sh"/>
     93
     94        <!-- run it -->
     95        <exec dir="components/tmp/sourcecode" executable="/bin/bash">
     96            <arg line="${basedir}/create-sourcecode-component.sh"/>
    8997        </exec>
     98
     99        <!-- remove it -->
     100        <delete file="create-sourcecode-component.sh"/>
     101
    90102    </target>
    91103
Note: See TracChangeset for help on using the changeset viewer.