create a copy (and not a link) for "latest" on Windows
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7586 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
048d7ff3ea
commit
8626b6e2ec
|
@ -706,7 +706,7 @@ GENERATES A DISTRIBUTION
|
|||
<target name="dist"
|
||||
depends="build.dist"
|
||||
description="Creates a complete Scala distribution"/>
|
||||
|
||||
|
||||
<target name="pack"
|
||||
depends="build.archive, build.sbaz"
|
||||
description="Packs a distribution for SBaz and ZIP/TAR"/>
|
||||
|
@ -764,7 +764,9 @@ GENERATES A DISTRIBUTION
|
|||
<!-- Recreate the 'latest' link to point to this distribution -->
|
||||
<if><isset property="os.win"/>
|
||||
<then>
|
||||
<copy file="${dist.current.dir}" tofile="${dist.dir}/latest"/>
|
||||
<copy todir="${dist.dir}/latest">
|
||||
<fileset dir="${dist.current.dir}"/>
|
||||
</copy>
|
||||
</then>
|
||||
<else>
|
||||
<symlink
|
||||
|
|
Loading…
Reference in New Issue