diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-10 18:53:57 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-10 18:53:57 +0200 |
| commit | 7a3109fe67c6b6d158964c780539b227fca125e7 (patch) | |
| tree | 9b7eccafdea431485f951217d4be3f5106ee19e8 /build.ant | |
| parent | c3e271bbd9e1bfbdc5b54e8d3d822358224b0073 (diff) | |
build.ant: preserve permissions on tools
Diffstat (limited to 'build.ant')
| -rw-r--r-- | build.ant | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -135,14 +135,14 @@ includes="*" /> </copy> - <!-- tools --> - <copy todir="${targetDeploymentDir}/bin/tools"> - <fileset dir="src/local/server-tools" - includes="*"/> - </copy> - </parallel> + <!-- tools. use cp to preserve permissions (copy doesn't). + out of parallel so ${targetDeploymentDir}/bin is already created --> + <exec executable="cp" failonerror="true"> + <arg line="-R src/local/server-tools ${targetDeploymentDir}/bin/tools"/> + </exec> + </target> <target name="deploy-remote" depends="deploy-local"> |
