summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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">