Changeset 18001


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

a different way to create the sourcecode component

File:
1 edited

Legend:

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

    r17998 r18001  
    7272               
    7373        <mkdir dir="products"/>
    74         <exec dir="components/tmp/sourcecode" executable="bash">
    75             <arg line="-c &quot;tar -czf ../../products/Greenstone-${version}-${os.suffix}-sourcecode-component.tar.gz *&quot;"/>
     74
     75        <!-- create a script to create the tar -->
     76        <echo output="create-sourcecode-component.sh">
     77        tar -czf ../../../products/Greenstone-${version}-${os.suffix}-sourcecode-component.tar.gz *
     78        </echo>
     79        <chmod perm="+x" file="create-sourcecode-component.sh"/>
     80
     81        <!-- run it -->
     82        <exec dir="components/tmp/sourcecode" executable="/bin/bash">
     83            <arg line="${basedir}/create-sourcecode-component.sh"/>
    7684        </exec>
     85
     86        <!-- remove it -->
     87        <delete file="create-sourcecode-component.sh"/>
    7788
    7889    </target>
Note: See TracChangeset for help on using the changeset viewer.