Changeset 18001 for release-kits

Show
Ignore:
Timestamp:
02.12.2008 13:56:16 (11 years ago)
Author:
oranfry
Message:

a different way to create the sourcecode component

Files:
1 modified

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>