fixed script on windows

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@15594 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
michelou 2008-07-23 10:00:18 +00:00
parent e922965625
commit 7f2ccf04bc
1 changed files with 10 additions and 1 deletions

View File

@ -962,10 +962,19 @@ DISTRIBUTION
<chmod perm="ugo+rx" file="${dist.dir}/bin/fsc"/>
</target>
<target name="dist.latest" depends="dist.base" unless="os.win">
<target name="dist.latest.unix" depends="dist.base" unless="os.win">
<symlink link="${dists.dir}/latest" resource="${dist.dir}" overwrite="yes"/>
</target>
<target name="dist.latest.win" depends="dist.base" if="os.win">
<copy todir="${dists.dir}">
<fileset dir="${dist.dir}"/>
</copy>
</target>
<target name="dist.latest"
depends="dist.latest.unix,dist.latest.win"/>
<target name="dist.doc" depends="dist.latest">
<mkdir dir="${dist.dir}/doc/scala"/>
<copy file="${docs.dir}/LICENSE" toDir="${dist.dir}/doc/scala"/>