74 | | <exec dir="components/tmp/sourcecode" executable="bash"> |
75 | | <arg line="-c "tar -czf ../../products/Greenstone-${version}-${os.suffix}-sourcecode-component.tar.gz *""/> |
| 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"/> |