summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 0034344595..e714da7345 100644
--- a/build.xml
+++ b/build.xml
@@ -992,15 +992,20 @@ GENERATES A DISTRIBUTION
<fileset dir="${docs.dir}/man"/>
</copy>
<!-- Recreate the 'latest' link to point to this distribution -->
- <if><isset property="os.unix"/>
+ <if><isset property="os.win"/>
<then>
+ <copy todir="${dist.latest.dir}">
+ <fileset dir="${dist.current.dir}"/>
+ </copy>
+ </then>
+ <else>
<symlink
link="${dist.latest.dir}"
resource="${dist.current.dir}"
overwrite="yes"
failonerror="no"
/>
- </then>
+ </else>
</if>
<!-- Create the SBaz packages -->
<mkdir dir="${dist.sbaz.dir}"/>