summaryrefslogtreecommitdiff
path: root/build.ant
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-04-10 18:53:57 +0200
committerAlon Levy <alon@pobox.com>2015-04-10 18:53:57 +0200
commit7a3109fe67c6b6d158964c780539b227fca125e7 (patch)
tree9b7eccafdea431485f951217d4be3f5106ee19e8 /build.ant
parentc3e271bbd9e1bfbdc5b54e8d3d822358224b0073 (diff)
build.ant: preserve permissions on tools
Diffstat (limited to 'build.ant')
-rw-r--r--build.ant12
1 files changed, 6 insertions, 6 deletions
diff --git a/build.ant b/build.ant
index 83b263eb..58a362b2 100644
--- a/build.ant
+++ b/build.ant
@@ -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">